Somewhat-Reticent The shore answer is 55% coal, hydro electric, solar, wind, nuclear make up the balance. Coal is dirty (it could be less dirty - cleaner really isn’t a thing, but that would require more effort though it has happened in some areas which are near to larger population centres).
While stuff is still on fire an electric vehicle wastes less power overall having a much higher efficiency, since power plants are also built to be as efficient the coupling of the two helps. On the other hand it while the refining process from oil/coal into diesel is pretty good most of that fuel is converted to useless heat with only a fraction powering the vehicle.
Still there is a world of difference between a Heavy truck of the Americas and that of China.