The atmosphere is constantly cycling, air is rising (lift) and falling (sink) in enormous amounts. As the sun shines on the ground it warms the surrounding air. Eventually this warms enough to form a bubble of hot air that rises. As it rises the air cools, until moisture in it starts to condense. This water vapour marks the bottom of a Cumulus cloud, the top of the cloud is where the rising air ran out of energy.