How did Earth get its water?

Our planet’s water could have originated from interactions between the hydrogen-rich atmospheres and magma oceans of the planetary embryos that comprised Earth’s formative years.