IPhone 4S got really hot then shut off, why?

My iPhone 4S got really hot (I was on it for a while and was doing several things) then my screen went black and it turned itself back on. Why did this happen? Is this a well known problem with iPhones?

Maybe it overheated. Sometimes the charger you have effects this

It was simply overheated. Let it rest for a little while. It should cut back on when it cools down… If not, try cutting it back on.

  • Why won't my iphone shut off? So this morning, I dropped my phone in the toilet (ik i'm a clutz) & Ik youre supposed to shut it off & put it in a bag of rice, but when I went to shut it off, it just turns on by itself again. What should I do? Btw, I have an iphone 4s.
  • Why is my iPhone 5s getting really hot? My phone has been getting really hot lately. I got my phone in December for Christmas and it's in perfect condition. Just concerned about it being really hot. Any thing so I can fix this problem?
  • Why does my iphone shut the call off at 4 or so hours? My boyfriend and I have been together for a while and sometimes we fall asleep on the phone, however, whenever we do I always wake up to the phone being disconnected. When i checked back at our phone history, it always hangs up the phone around 4 hours of talk time, even i its a full battery or its being left on the charger when we fall asleep. Is there some way to stop this?
  • Why does my iPhone shut off when it is unplugged? Well for a while now my iPhone has been shutting off when I unplug it. Sometimes the battery would just stay at a same percent for a while and I will take it off the charger and plug it back in, then my phone would shut off and come back on. That would keep the battery going up. Also lately, my phone has been receiving text messages really late and unless I turn my phone off I would get the messages late. Anyone has any suggestions?