Calcium ions move naturally through diffusion from a region of high concentration to a region of low concentration. Due to the concentration gradient between the inside and the outside, the ions will move from the inside to the outside until an equilibrium is reached.
The water from the ocean gets evaporated by the sun and travels as a gas into the clouds. As more and more water builds up in the clouds it will eventually rain or snow