Just like the Volcano vent that exploded and spewed all those diamonds in Africa that we have been enjoying the past 60 years digging out. One massive explosion. Happens. You find one of those gold viens, then you are on top of copper and a host of other pure minerals.
I bet if we were able to dig far enough, there is a shelf of solid gold under the Earths crusts.
Just to give some perspective. If you were able to drill a hole down to the center of the Earth and jumped in like a sky diver, it would take more than 36 hours of falling till you hit botton. That at 9' per second. Newtons law and the size of this turd ball spinning in space.