Light from the sun causes water to evaporate, which rises into the sky, condenses to form clouds, and when the cloud droplets get big enough, the air can't hold them up anymore and down they come.