Where Did Earth Get Its Oceans? Maybe It Made Them Itself (opens in new tab)
So the theory explained here is that Hydrogen mixed with the Oxygen in the melted rock (magma) of earth, under extremely high pressure to create our earth specific flavor of H2O (appropriate amount of trace minerals and deuterium).
Read the original article