We call them oceans. The Genesis account indicates they sprang up from the deep forming large fountains. There probably was some substantial tectonic activity at work as well. Atmospheric weather patterns also greatly changed as rain wasn't recorded prior to the flood, but afterwards the Rainbow was a new observation. Rain drops must reach a particular size for precipitation to occur.