This heat that melted the Earth arose from a combination of sources:

  1. Gravitational energy left from the formation of the planet,

  2. Meteor bombardment

  3. Decay of radioactive material trapped in the body of the Earth.