Hydrogen as a fuel is about as safe as gasoline for automobiles. See below:Interesting, I tough that this fuel cell hype died decade ago.
Hydrogen is an energy carrier, not a primary energy source.
And it is one of the most dangerous energy carrier, it explode between 5-95% concentration in air (not burn, explode )
And to make it worst , it is next to impossible to store, in cryogenic form (-253 Celsius !!!! 20 kelvin !!!!! ) it has 71kg/cubic meter density.
If someone making hydrogen then it makes more sense to synthesise petrol with it,using tar/bitumen as feedstock.
And hydrogen source can be high temperature realtor, like molten salt one, with sulfur–iodine cycle.
Compared to battery electric vehicles, fuel cell electric vehicles offer the same driving distance, refueling time, and cold weather performance as vehicles with gasoline internal combustion engines. Hydrogen is the most abundant element, and is a by-product of oil refinery and ammonia production. It can also be produced by electrolysis, using solar power, power grid, or nuclear power. It's as important as battery, if not more important, for new energy vehicles.