Hydrogen has been the future as long as I have been paying attention to electric cars. There are many problems with it, including Hydrogen is the smallest molecule. It leaks through seals, embrittles metals, and has terrible energy density by volume. You either compress it to 700 bar (heavy tanks), liquefy it at -253°C (energy-intensive), or store it in metal hydrides (heavy, slow release). Solid state batteries are much more interesting. They extend EV range to 600-1000 miles and enable 10-minute charging. If they work at scale, they kill hydrogen for cars, trucks, and probably short-haul aviation too.
The path of most interest to many is Renewables -> bulk hydrogen as storage -> electricity grid.
The bulk storage method of interest is dissolved salt caverns: https://news.ycombinator.com/item?id=47160599
Compressed hydrogen and cryogenic liquefaction also present explosive/BLEVE risks. Metal-hydride is probably the only reasonably safe-ish option. Other issues (like hydrogen embrittlement, leaking, slower flow-rate) are all very real challenges, but 'solvable'. Solving all of them at a price that consumers/businesses can stomach is quite debatable.
Batteries are just too good nowadays to expect hydrogen to receive the level of R&D and infrastructure investment to become at all competitive.