To reach any useful volume density you need a high pressure COPV tank that weights an other of magnitude more than the fuel it contains. To generate electricity you need a bulky fuel cell with low efficiency, which in turn requires a very beefy cooling system, larger than the one used on an ICE vehicle since the fuel cell is so much sensitive to overheating.
If you add it all up, you get something that's comparable with a battery in terms of energy density, but with half the round trip efficiency, expensive and dangerous refueling, larger upfront costs and lower lifetime.
It's no surprise then that the range record for a hydrogen car is actually lower than the corresponding BEV car.
The only genuine advantage of fuel cells is faster refill, but with advances in battery chemistry and ubiquity of charging spots, this becomes less of an issue.
As for the mineral scarcity issue, fuel cells have it much worse, each requiring a small fortune in platinum or other rare minerals. The lithium content for batteries is dropping and a somewhat lower performance sodium ion chemistry is available, with practically limitless supply.
Platinum is not a critical component, only necessary in current PEM fuel cells. Future fuel cells should eventually do away with platinum altogether. As hydrogen is effectively limitless too this is never going to be a resource concern.
So the density advantage of Hydrogen is limited, half to a third the battery mass with comparable volume. Not a game changer in 2010, and certainly not now, when everything else is against it.
The much improved and high performance fuel cells have been just around the corner for two decades. In the meantime, BEV sales have outstripped H2EVs one thousand to one, growing exponentially every year. How could anyone even consider buying a H2EV when the reliability of infrastructure is a joke even in the most mature US market [1]? Considering electric chargers are becoming ubiquitous and anyone can install one in their own home?
I think one needs to smell the roses, it's not a festive occasion for H2EVs.
[1] https://www.motortrend.com/reviews/2021-toyota-mirai-long-te...
Aside from mass, volume is fundamental on a terrestrial EV, it reduces storage capacity, comfort and range at highway speeds. That's why a Tesla can have two trunks, while the Mirai is limited to just 5 Kg of fuel.
The Mirai also stores around 186 kWh of LHV energy (220 kWh HHV). It's storing a fundamentally larger quantity of energy than comparable EVs.
Meanwhile, EV already exist today with similar range - Model S or Mercedes EQS, with something like 90% solar cell to wheel efficiency, and battery chemistries are only getting better.
That number also defines the arbitrage marginal any other solution has against hydrogen. Be it batteries, over built renewables or geographically coupled networks.
Hydrogen as a feedstock for industry?? Definitely.
Hydrogen for airplanes? Likely synthetic hydrocarbons but we will see, the hydrogen has to come from somewhere. Same with long distance ocean transport.
Emergency reserve of power for a nation state? Just use fossil fuels.
I don't know what solution our leaders have in mind for this - but I can imagine the costs of gas and battery storage scale differently.