Just a heads-up do restart your phone at least once a week.
It's for a good cause : retaining memory, preventing crashes, running more smoothly and prolonging battery life .
And if this helps please tap on 3 dots on my reply and accept as solution. Thanks
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