Why is the sun's surface temp 5400 degrees Kelvin and the less dense corona in the millions, how does it work? How come the core temperature of the Sun is 15.7 million kelvin, 5700 kelvin at the surface and less than 300 at the earth surface?