This is due to the rainshadow effect. The rainshadow effect occurs when moist air gets blocked by mountains, causing one side of the mountain (the leeward side) to be dry. The mountains block the path of rain producing weather systems. (I found a diagram of the process, I hope this helps!)