Hydrogen is not a fuel. Hydrogen is an energy storage medium.
Hydrogen is a good way to store energy from intermittent electric sources like windmills and solar panels.
It’s combustible, so it’s a fuel itself.