Water appeared while Earth was still growing. Cosmo-chemists have performed the largest study to date of oxygen isotopes in lunar rocks, and found a small but measurable difference in the makeup of the moon and Earth. The research proposes that Earth acquired the majority of its water during the main stage of its growth -- which counters a popular theory. Source 6k.