- When the safety valve pops, it release hydrogen (H2), which is explosive
- but H2 is lighter than air so it has to be contained
- An ignition source is required to ignite the H2 with the air
The exact same arguments could be made about natural gas. The difference is that we have a long history of learning about natural gas failure modes. H2 still has an LEL and UEL, and
the LEL of hydrogen is 4%. Natural gas is 5%. Propane has a shockingly low LEL at 2%, but the biggest risk from hydrogen is the range. The UEL is 77%, so unlike with most other ullage vapors where you can expect the UEL to prevent explosion, that's just not going to happen with hydrogen. With natural gas, the UEL is only 15%, so it doesn't take that much gas to go so rich that it's safe again.
To be fair there's less of a risk with venting cells, due to the hard limit on the volume a fixed amount of chemistry can produce. But lots of lithium cells are used in contained spaces.
Also "an ignition source" is wording I find painfully lacking in nuance. Gasoline takes around 0.8 milli-Joules to ignite. Natural gas has an ignition energy of 0.3mJ. Hydrogen is 0.02mJ! There's an order of magnitude difference here when it comes to finding an ignition source that people take way too lightly. We all know how easily natural gas finds ignition sources, yet nobody here seems to admit that hydrogen is over 10x more ignition sensitive.