This was done as a part of the annihilation of humanity, and this was a multistage process and explains, as well, the salting of the Earth. That was done on the original Earth and, in response, most of the water was removed from the extraterrestrials by divine realm and deposited on Tiamat for safekeeping. In retaliation, the extraterrestrials destroyed Tiamat but the water was recovered by the divine realm and ultimately transferred to the Earth once it was in its new orbit around your current Sun.
This was indeed a consequence of seeing the transfer of water and causing a backlash to render it useless by shattering the planet and scattering the water into space. So this was a final blow, so they felt, to render impossible a reconstitution of life but, as you have seen, the divine realm was not prepared to surrender and give up the plan to seed divine humans as physical entities into the universe, so the enterprise was restarted after an interval and that colonization has continued to the present day.
So we understand this adds further improbable, bizarre geophysical machinations onto what already seems like a tall tale and an unnecessary confounding of improbable events to require multiple miracles, but this illustrates the extent of the depravity of the interlopers in causing so much calamitous destruction, as well as the resourcefulness of the divine realm to ultimately salvage the major infrastructure allowing a habitable planet with a source of water. In this way, there was a continuation of the saga. So the Earth was not restarted with fresh water but with the contaminated water from its prior orbit, following the first annihilation that was carried out. And this was preserved in that fashion to represent a continued hurdle for humans to overcome by undoing the travails of the past and the consequences, and surmount the challenges of physical existence despite this liability.
Please login or Register to submit your answer