Hydrogen is not considered a viable fuel alternative for the masses due to the high risk of explosion among many other factors. I wish people would stop mentioning it in these discussions. https://www.energy.gov/eere/fuelcells/hydrogen-storage-chall...
The risk of gasoline 'explosion' (neither would be an explosion, it would be a fire) is higher with gasoline because its vapors are heavier than air and tend to pool on the ground and in structures.