Earlier quoted context omitted.
They are still, indeed, orbiting the sun. In the same way the earths atmosphere is orbiting the earth.
The earth's atmosphere is not orbiting the Earth. It is in hydrostatic equilibrium in the earth's gravitational field. Big difference.
You might want to rethink that. It’s a useful model in bulk in the lower atmosphere, but it’s far from true in the upper atmosphere.