Because the power grid and city infrastructure do not allow for enough (fast) charging-points. In some European cities, for government BEV goals to be achieved, over 700 charging points have to be placed, every single day, for 5 years.
Now imagine a charging point using more electricity than your avarage household.
The grid is not ready for this and upgrading it might not be the best option.
Also know that there is up to 50% loss of electricity when transporting over long distances (like from wind-farm to the city).
Last, but not least: charging large vehicles like busses or trucks take a long time (and a lot of energy) time that is paid for by the company.
Now look at hydrogen: Produced and stored at decentralized locations, distributed through existing infrastructure, available at existing gas stations: Less stress on the grid, shorter charging times. Produce it where and when is most beneficial, store and transport it to when and where it is required.
I could go on. And probably somebody could go on with a lot of counter points.
However, this just states that 'BEV are just better', as you stated, is just not as simple as just that.
We are in a mobility and energy transition: Nothing about this is going to be easy.
Full disclosure: I operate both a corridor of electric car chargers and a hydrogen fueling station in Europe.