There's a process called a [rain shadow](https://en.wikipedia.org/wiki/Rain_shadow) whereby mountain ranges and tall hills block the passage of clouds and rain, causing them to bounce back and drench one side of the range.
The Highlands serve as one which is why Aberdeen and Edinburgh are relatively dry while the west coast gets absolutely pissed on.