Overall efficiency must be considered.
Let's say that I have 1 gallon of gasoline and I want to extract the most energy from it.
I can pour the gas into the tank of an internal-combustion automobile and extract energy at about 35% efficiency.
I can pour the gas into the tank of a generator and use the generator to charge up an electric vehicle. The energy is extracted at about 0.35 * 0.80 * 0.80 = 22.4% efficiency. (I assume that the efficiencies of the generator, charger, and vehicle are, respectively, 35%, 80%, and 80%.)
In the case of the electric vehicle, I will lose a lot of energy within that gallon of gasoline. Multiply this by a few tens of millions.
VD