That’s entirely the point of hydrogen fuel. The process of producing or using hydrogen does not pollute. You have decoupled pollution from energy storage.
Hydrocarbons pollute by their very nature. In order to have a carbon neutral hydrocarbon cycle you need an impractical number of CO2 capture facilities.
And to add to your comment, spelling it out in case it isn't obvious: you can also decouple pollution from energy production using photovoltaics, wind or hydro - and suddenly most of your power chain is clean (what remains dirty is manufacturing the power generator and power storage).
the electricity has to be generated somewhere. coal plants - pollution. hydropower plants - pollution. you might say hydropower plants don’t produce pollution, but it takes a lot of energy to build them and they pollute the environment with their mere existence, no more pristine nature.
yes indeed i am, because they are related. electrolysis utilizes electricity. hence the prefix electro-.
your point highlights my initial point about hydrogen fuel - ie we must look all the way up the chain and account for all polluting steps, instead of simply focusing on a single aspect.