Out gassed volcanic water vapour is derived from the breakdown of hydrated minerals. However you can’t address how these minerals first became hydrated in the archaean. The source of the earths water was clearly elsewhere. But strangely we know it wasn’t from comets as the isotopic ratio is wrong.