Which led to the formation of oceans after water on Earth’s surface evaporated?

Materials collided due to strong gravitational forces.

The ozone layer formed to protect against harmful UV ray exposure.

As Earth cooled, water in the atmosphere condensed.

The sun released a strong burst of water vapor.

As Earth cooled, water in the atmosphere condensed.