Hydrogen and hydrocarbon fuels are just sources of electrons. The beauty of a real electric car is the efficiency of going directly from stored electrons to power.
Unless you do battery swapping, in which case they don't seem all that different: https://www.youtube.com/watch?v=H5V0vL3nnHY
I wonder what happens when you factor-in maintenance, safety and production costs