Scientists solve mystery of how diamonds erupt from Earth's surface.