For the same reasons that a forming protostar is hot— namely, conversion of gravitational energy into thermal energy—the gas surrounding the cores of the giant planets became compressed under the force of gravity and grew hotter. Proto-Jupiter and proto-Saturn probably became so hot that they actually glowed a deep red color (think of the heating element on an electric stove). Their internal temperatures may have reached as high as 50,000 kelvins (K).