Scientists think that over time, all these collisions filled the oceans. Another idea is that ocean water came from deep inside the earth<span>. It was brought to the surface when volcanoes erupted. Scientists think soon after </span>the earth<span> was formed, there was a long period of massive volcanic eruptions.</span>