When a cold front approaches, rain is likely as the cold air mass pushes the warm air mass up. As the warm air mass rises it cools down and condenses to form clouds which will likely form rain.