The bottom line here is simply that a large part of the interior of the planet (the outer core) is composed of somewhat impure molten iron alloy. The melting temperature of iron under deep-earth conditions is high, thus providing prima facie evidence that the deep earth is quite hot.