Use camera or gaming or HD streaming, something extensive on both device.. or run any benchmark App... and note the temperature on both devices. I have a feeling both devices will reach almost same temperature but on touching them, you will feel more heating in S21..
That's my guess..
As s21 has aluminum frame, and iPhone 12 has stainless steel frame..
Though steel is good and gives premium feel, but aluminum has better thermal conductivity or in other words it is good conductor of heat..
Dear Samsung Member,
Greetings from Samsung Customer Support!
Please visit this mentioned link to resolve your device heating issue: https://www.samsung.com/in/support/mobile-devices/why-the-device-heats-up-during-use/
For further assistance, register your concern in Samsung Members Application (Open Samsung Members Application > Get help > Send Feedback > Error report/Ask questions).
Thank you for writing to Samsung.
Samsung Customer Support