Have you tried another charger to see if you still experience these symptoms?
Whether you're using a phone, tablet, smart watch, or earbuds, all Galaxy devices have a set temperature range, where they operate at their best. While they may feel warm under certain conditions, like charging, this does not affect the device's lifespan or performance. However, if your devices get too warm, it could cause some issues. Give this link a try: https://www.samsung.com/us/support/answer/ANS00076952/