The correct way that weather is affected as winds blow against a mountain is:
The wind moves upward, causing rain to fall on the same side of the mountain.
This phenomenon is known as orographic lift, where moist air is forced to rise over the mountain, cooling as it ascends and resulting in precipitation on the windward side of the mountain.