Hydrogen had more government support for longer. And EV started to establish themselves with very little support and continued growing once they were over.
In the consumers got tax benefits only for the first 250k cars. Tesla blew past that many,many years ago and it didnt stop their growth in the least.
And clean air credits would count for Hydrogen vehicles too.
BEV won because its quite simply far better almost any way you look at it. Fiancial, infrastruce , conviniance, mass production and so on. And its not even close.