The correct explanation is:
C. The mountains force the clouds to rise, and they cool as they rise.
As clouds encounter the mountains, they are forced to rise upwards. As the air rises, it cools, which leads to condensation of water vapor and the formation of precipitation. This process is known as orographic lift.