An interesting fact I learned is that internal combustion engines are so inefficient that you could charge an average electric vehicle using a coal powerplant, and even with all the energy lost to transformers, power lines, charging, etc, it'd still be more efficient than an average gas powered car, even if you ignore the entire petroleum refinement and distribution process.
@malwaretech And hydrogen and synthetic fuels are also very inefficient. You can't produce enough, it's expensive and you would need those for different things than running a car.