Mountains can greatly impact rainfall. When the air gets to the mountains, it begins to rise over the barrier, then it moves up the windward side of the mountain, cools, and the volume decreases. Because of this, the humidity will increase, and orographic clouds and precipitation can start to appear.
Maybe not perfect, but I hope it helped.