The difference in energy density is much more important.
The specific energy of gasoline is 46.4 MJ/kg, while that of a Samsung inr18650 Li-Ion cell is 958.1 kJ/kg. Even accounting for the much lower efficiency of a turbofan engine the difference is quite significant.