A spacecraft drifting past Neptune would not need much imagination to picture diamonds forming in its atmosphere. Deep inside ice giants, carbon compounds are squeezed under pressures that break molecular bonds and reorganise atoms into crystalline structures.