This happened to my SP3 which served me well for 5 years, the longest I ever kept and used a computer.
It is from the battery swelling and can catch on fire. I disposed of it through a Microsoft store and purchased a SP7 which is a big upgrade from the 3.
This is known to happen to iPhones from...