Some of the water evaporates into invisible vapour and rises.
The air is colder there, so vapour condenses into tiny droplets.
Heavy drops fall as rain, or as snow where it is cold enough.
Then the Sun warms the sea again, and the cycle repeats.