explain how changes in weather are caused by the interaction of air masses