If we focus instead on electricity production by source in the USA between 2011 and 2021: Electricity produced...
with oil: 42TWh => 35TW (-16%)
with coal: 1730TWh => 900TWh (-48%)
with gas: 1010TWh => 1580TWh (+55%)
with solar: 2TWh => 164TWh (+8900%)
with wind: 120TWh => 378TWh (+215%)
with nuclear: 790TWh => 780TWh (-2%)
with hydro: 310TWh => 250TWh (-20%)
So not only was 600TWh of dirty coal replaced by cleaner gas, the amount of electricity produced with fossil fuels dropped by more than 200TWh. Meanwhile, electricity production by renewables significantly increased.
Or in other words, if you had bought an EV in 2011 and driven it until now, it would have gotten cleaner every year, which is not going to happen with an ICE.
Source: our world in data, numbers slightly adjusted for readability.
The article "Factcheck: How electric vehicles help to tackle climate change" <https://www.carbonbrief.org/factcheck-how-electric-vehicles-...> seems to make the same point (if that's a bad source let me know):
* "EVs are responsible for considerably lower emissions over their lifetime than conventional (internal combustion engine) vehicles across Europe as a whole.
* In countries with coal-intensive electricity generation, the benefits of EVs are smaller and they can have similar lifetime emissions to the most efficient conventional vehicles – such as hybrid-electric models."
Which is my point: we need to decarbonize the generators. The article even goes on to state this: "However, as countries decarbonise electricity generation to meet their climate targets, driving emissions will fall for existing EVs and manufacturing emissions will fall for new EVs." Note the requirement to decarbonize the generators. This is a real issue, for example, in 2021, coal-fired electric power plants accounted for 91% of West Virginia's total electricity net generation <https://www.eia.gov/state/?sid=WV>. There's an assumption by many that utilities' electricity generators will over time produce less carbon dioxide, but I'm not convinced that it will "just happen". Such a change will require continued emphasis over time.