Mountains influence rainfall through orographic lifting - when moist air is forced to rise over mountains, it cools and condenses, causing precipitation on the windward side. This creates rain shadows on the leeward side. Soil type, population density, and sunrise/sunset times do not directly affect rainfall formation.