I have the 6th gen and whenever I run an intensive program (either graphics or processor intensive) it warms up on the right hand side where the battery is (I think).
What doesn’t help is ever since iOS 13.3 or so, my iPhone and iPad both seem to get warm fairly quickly doing minimal tasks. Not sure if this is a RAM management issue, but it is certainly software related.