I’ve had a Pixel 4a for ~3 years at this point. I had to replace it some time last year because I had lost my original in a lake. T-Mobile gave me whichever lower-end Pixel there was at the time and I immediately gave it back because of the offputting amount of warmth it produced doing very little. When the time does come to properly upgrade, how would I go about searching for phones that run cool? I’ve been thinking about my next choice to be a jump-ship from the Pixel series given my, uh, experience (there was a bit more that I didn’t like about it)
In addition to what was said in the comments and at the risk of stating the obvious, look also into minimizing the number of apps that keep working in the background and aren’t really idle (e.g. background data collection) and replace as many apps as you can with opensource equivalents that aren’t data hungry and don’t hide any nasty background telemetry. If the CPU is not idle then it will get hot.
Also, the battery saver should usually help you get lower temps.