as the planet warmed up , that water eventually rose into the upper atmosphere , where it was broken apart by sunlight , leaving behind the heavier deuterium as much of the lighter hydrogen escaped into space .