Scientists were not previously certain how the precious stones arrived at the Earth’s surface.