A slight increase in the surface temperature of your mobile device is completely normal.
The smartphone may become slightly warm while charging or as a result of prolonged active use.
In such situations there is no reason to worry.
The temperature of the gadget's surface may also increase due to the device's location under direct sunlight. In this case, the phone should be moved to a shaded area.
What to do if your smartphone heats up for no apparent reason?
Why does a mobile phone heat up: possible reason
The gadget has become hot, but it is located in the shade and is functioning in sleep mode?
The problem may be caused by malware.
In other words, it is possible that a virus has entered the smartphone.
Because of the latter, the load on the mobile device increases significantly. This explains the heating.
The problem is solved by removing malware from the gadget. Use a proven antivirus. Perhaps this action will be enough for the smartphone to start working normally again.