Why does cell phone heat up while charging?

A cell phone heats up because of the activity inside the cell phone while it's charging. The chemical process inside the battery needs to be reversed in order to charge up the cell phone and electricity is moving through the phone as it charges. Most electronic devices, if not all, heat up while being charged.