It is because of heat from when the planet formed and accreted, which has not yet been lost; frictional heating, caused by denser core material sinking to the center of the planet; and the heat from the decay of radioactive elements
Is this connected with the core?
It is a part because Earth’s core is too hot.