The mountain ranges block the moist Pacific air, holding moisture in the western valleys, and creating rain shadows to the east.