Quick recap of why hydrogen is not a practical power source for vehicles:
1) Very poor roundtrip efficiency, 30% that of battery EV. While crap efficiency is not problem during excess power generation, we are far from annual net excess, thus efficiency matters.
2) Expensive fuel cell system (large, even more expensive fuel cell, or smaller coupled with still expensive high-power battery pack); li-ion battery pack cost crossed the fuel cell system cost years ago, now being around $5000.
3) Need for distribution system comparable to that of gasoline distribution, with chicken-and-egg problem. (Compare this to EVs where the chicken-and-egg problem just went away a decade(!!) ago already, thanks to two factors, any-socket charging and general simplicity/low cost of fast charging stations)
Any single of such problems could be manageable, but all three together makes it a total no-go, which is exactly why it has not happened despite all predictions by certain non-technical people, and will not happen. It is worth noting there are no solutions to any of these; they are unsolvable*, something that can only be worked around / accepted as they are.
*) except for point 2, where theoretically a lower cost system could emerge, but don't hold your breath
If neither modern li-ion cells nor gasoline vehicles existed, then hydrogen would probably be a good idea for a fresh start, instead of fossil (or biofuel) gasoline/diesel ecosystem. But real world is not tabula rasa.
It is quite interesting we are still having this discussion in 2023 but I guess some people just will remain blindfolded, regardless of glaring evidence around their daily lives.