It absolutely is a chemical generator. Because it’s actually pure oxygen, and carrying that onboard a plane in any other form (oxygen bottles etc) at an amount that would keep 300 or so people alive would make the plane even more of an explosion hazard than it already is.