Problem with iOS 16.5.1 update
I updated my IPhone XS Max to iOS 16.5.1, the phone heats up and gets hot when I use it
I updated my IPhone XS Max to iOS 16.5.1, the phone heats up and gets hot when I use it
When I had a somwhat similar issue this is What I did...
I continued to have the same issue with the heating.
I repeated the above steps but this time I did not restore from the iCloud Backup. I set it up as a new iPhone.
Waited for 3 days. There is no heating issue, now.
Conclusion.:
Action Plan:
Now the heating issue isn't there anymore. I am adding apps one by one and keeping tab on the heating issue.

My experience says this is purely caused by some third-party app that you may have installed.
I am not aware of the ambient temperature in which you are using the iPhone. However --> Keeping iPhone, iPad, and iPod touch within acceptable ...
Store the device where the temperature is between -20º and 45º C (-4º to 113º F). Don’t leave the device in your car, because temperatures in parked cars can exceed this range.
Use iOS devices where the ambient temperature is between 0º and 35º C (32º to 95º F). Low- or high-temperature conditions might cause the device to change its behavior to regulate its temperature. Using an iOS device in very cold conditions outside of its operating range might temporarily shorten battery life and could cause the device to turn off. Battery life will return to normal when you bring the device back to higher ambient temperatures. Using an iOS device in very hot conditions can permanently shorten battery life.
When I had a somwhat similar issue this is What I did...
I continued to have the same issue with the heating.
I repeated the above steps but this time I did not restore from the iCloud Backup. I set it up as a new iPhone.
Waited for 3 days. There is no heating issue, now.
Conclusion.:
Action Plan:
Now the heating issue isn't there anymore. I am adding apps one by one and keeping tab on the heating issue.

My experience says this is purely caused by some third-party app that you may have installed.
I am not aware of the ambient temperature in which you are using the iPhone. However --> Keeping iPhone, iPad, and iPod touch within acceptable ...
Store the device where the temperature is between -20º and 45º C (-4º to 113º F). Don’t leave the device in your car, because temperatures in parked cars can exceed this range.
Use iOS devices where the ambient temperature is between 0º and 35º C (32º to 95º F). Low- or high-temperature conditions might cause the device to change its behavior to regulate its temperature. Using an iOS device in very cold conditions outside of its operating range might temporarily shorten battery life and could cause the device to turn off. Battery life will return to normal when you bring the device back to higher ambient temperatures. Using an iOS device in very hot conditions can permanently shorten battery life.
Problem with iOS 16.5.1 update