Atmospheric vertical coupling and space weather in the solar-terrestrial system