Phones heat up due to battery discharge and processor activity. Running apps and charging generate heat which is sometimes poorly dissipated depending on phone design.
This fact belongs to the general category and contributes to expanding general knowledge. Understanding such facts not only makes you smarter but also helps connect ideas across different fields.