It turns out that, among other advantages for electric cars, they can carry more energy than hydrogen cars when you take the efficiency of transferring kinetic energy to the car into account. There was an interview with Elon Musk where he scoffed at the use of hydrogen and the use of fuel cells.