So to sum up everything in these comments, the iPhone pro max 12 and 13 both have batteries that can explode when overheated. Apple underestimated just how hot their devices could get, or some hardware component inside is causing more heat than it should and it’s probably the battery itself.
That said, they are trying to keep this issue as low key as possible to avoid a massive recall. I guess it’s nice they don’t allow the batteries to get too hot and injure people, but it sucks that for one, they’re pretending like the problem doesn’t exist, and for two, we are essentially paying for defective products.
That’s where we are at and from the looks of things, you’re on your own to figure out how to keep your iPhone working with the least amount of processes in order to keep the temp down.
I have 3 phones I use daily all day - 12 pro max, 11 pro max, and an xs max. I cannot tell the difference between any of them except for the fact that the 12 pro max sometimes dims and gets hot. You read that right - there’s no difference in speed, surfing, camera, resolution, how long they last on battery - it’s all the same. Oh except for the 12 pro max does get much brighter and does have better speakers, but that’s it.
I recommend going with the older models until they get this straightened out. Maybe 14 will be good?