There are three main sources of heat in the deep earth: (1) heat from when the planet formed and accreted, which has not yet been lost; (2) frictional heating, caused by denser core material sinking to the center of the planet; and (3) heat from the decay of radioactive elements.
Alternate Answer: Stars don't move, they are stationary in space.The Earth rotates around the sun and it appears that the sun and stars rotate around us, but they don't.