Update:
The issues caused due to Site management operations as there was a site management operation at 2022-07-14 16:18:07.92 and first 500.30 error started at timestamp 2022-07-14 16:18:42.8558132 and due to many site management operations in this 30 mins of timeframe which also includes swapping operations and after last update, website restart was done at 2022-07-14 16:46:41.21 and after the warmup process, site was up and running.
Resolution: Its recommended for Health check feature, Auto heal and adding multiple instances which will help in maintaining healthy production applications.
Please follow the best practices in The Ultimate Guide to Running Healthy Apps in the Cloud to make your app more resilient from any cloud platform events.