They vent the oxygen, and draw it back from the atmosphere as needed. Hydrogen would need to be stored, and probably liquified first. It is similar to the difference between a rocket and a turbojet: for efficiency, jets always win (except where you get to cruise through vacuum).