Elemental hydrogen leaves the Earth’s atmosphere and floats off into space driven by the solar wind.............
It rarely gets the chance to do that, since it is usually either combusted or metabolized (hydrogen-reducing bacteria), to form heavier compounds, along the way.
The other components of the Earth's atmosphere are likewise blown off by the solar wind. The Earth is constantly losing atmosphere to outer space - and has for eons.
Regards,