Hydrogen's horrendously inefficient:
View attachment 720982
Hydrogen doesn't seem very relevant in a UK motoring forum; BEVs seem the near perfect solution for cars, and I'd estimate will achieve market penetration of circa 90% within 2-3 decades unless the deadlines are changed or some other technology comes along.
But one size doesn't fit all.
Consider all internal combustion engines in all applications; you can't simply replace them with motor and battery because energy for charging isn't available/reliable in all locations. Solar/wind helps plug the gap where there are no grid connections, but there will aways be a need for a high density energy source that can be easily refilled.
Likely internal combustion will persist, but hopefully with greener manufactured fuels.
Fuel cells powered by ammonia or methanol are expensive options; they get away from the pure hydrogen storage issue; or alternately there's the metal hydride storage solution for hydrogen, but that's even more expensive.
Niche applications.