At the very beginning of its history, Earth was dry. How did it become a blue planet? A new theory could provide an answer.