In parts per million in the Earth's crust Uranium is around 1.8ppm and Gold 0.003ppm. Given that it takes far more energy to create Uranium than Gold, why is this?
Since gold is much more abundant in the universe than is uranium (by a factor of about 20:1)1, why is the situation reversed in the Earth's crust (by a factor of about 1:600)2? The answer lies in chemistry.

Uranium is chemically active. It readily oxidizes (pitchblende) and it readily combines with silicates. Uranium is a lithophile (literally, rock-loving) element3. It does not dissolve all that well in molten iron, and thus tended not migrate to the center of the Earth when the Earth differentiated. Uranium is a "high field strength element", one of the two classes of trace elements that are incompatible with the minerals that form the upper mantle4. When upper mantle rock undergoes a partial melt, incompatible elements such as uranium preferentially join the silicate melt rather than staying with the solid minerals. Over time, this magnifies the amount of uranium in the crust compared to that in the upper mantle5.

Gold on the other hand is rather inert chemically. It has little affinity to oxygen or sulfur. It does however readily dissolve in molten iron. Gold is a siderophile (literally, iron-loving) element3. Of the tiny bit of gold currently found in the crust, hardly any is primordial. Almost all of the primordial gold sank to the Earth's core when the planet differentiated. The gold currently found in the crust instead arrived in meteors that hit the Earth after the Earth had finished forming6.

The above assumes that the Bulk Silicate Earth (BSE) models of the Earth is basically correct, that the Earth formed from protoplanets and planetary embryos that had formed from material in the inner solar system, and that the proto-Earth differentiated into a core and primitive mantle. One prediction of these models is that the differentiation that created the Earth's core made the core strongly enhanced in siderophile elements and strongly depleted of lithophile elements, particularly so with regard to high refractory lithophile elements such as thorium and uranium. An opposing (not well accepted) model says that rather than being depleted of uranium, the Earth's core is uranium-enhanced, and to such an extent that there is a large georeactor at the very center of the Earth. These are testable hypotheses. Recent studies of geo-neutrinos are consistent with the BSE hypothesis, and simultaneously reject the possibility of a large georeactor at the center of the Earth7.



Footnotes


Based on Lodders, "Solar system abundances of the elements." Principles and Perspectives in Cosmochemistry, Springer Berlin Heidelberg, 379-417 (2010), the abundance of gold to uranium by mass in chondritic meteorites is 18.1:1, 25:1 for the sun's photosphere. To one significant digit, this ratio becomes 20:1.
From Lide, editor, CRC Handbook of Chemistry and Physics, 88th edition, the crustal ratio of uranium to gold is 675:1. From online resources such as web elements.com, I get ratios ranging from over 400:1 to over 600:1. I used 600:1.
Victor M. Goldschmidt developed the concept of classifying elements as siderophile ("iron loving"), lithophile ("rock loving"), chalcophile (literally "ore loving", but Goldschmidt implied "sulphur loving"), and atmophiles ("air loving") in the 1920s. While Goldschmidt's initial concept of a siderophilic core surrounded by a chalcophilic layer surrounded in turn by a lithophilic outer layer didn't pan out, his classification scheme lives on. That uranium is a lithophile and gold is a siderophile is basic chemistry.
There are two key classes of "incompatible elements": Those with an abnormally large ionic radius, and those with an abnormally large field strength. Uranium and thorium fall into the latter class.
While the "incompatible elements" are lithophiles based on chemistry, they don't fit nicely in the crystalline structures that comprise typical rock. In rock undergoing a partial melt, incompatible elements such as uranium tend to migrate to the melt because of this structural incompatibility. Over time, plate tectonics has made the incompatible elements migrate to the Earth's crust.
This is the conclusion of Willbold, et al., "The tungsten isotopic composition of the Earth/'s mantle before the terminal bombardment." Nature 477.7363: 195-198 (2011). Others disagree. One thing is certain: Gold is an extremely rare element in the Earth's crust.
For example, see Bellini, et al., "Observation of geo-neutrinos." Physics Letters B 687.4:299-304 (2010), Fiorentini, et al., "Geo-neutrinos and earth's interior." Physics Reports 453.5:117-172 (2007), and a host of other recent papers on this topic.

