Continental air masses form over land because land surfaces heat up and cool down more quickly than oceans. This leads to the development of high and low pressure systems, which in turn create air masses. Over land, the air is heated by the sun, causing it to rise and create low pressure. This air then moves towards areas of higher pressure, creating a continental air mass. Over oceans, the air is not heated as intensely, resulting in less temperature contrast and the formation of maritime air masses.