Welcome to Android Central! There are various reasons why a phone can heat up, including poor cell signal, running a processor-intensive app, a failing battery, and a corrupt file on the SD card. Watch closely for a recurrence--if it happens again, check your battery menu to see if any app seems to be using excessive battery, or if your cell signal is particular weak.