The study also estimated that gas-powered vehicles cause at least twice as much environmental damage over their lifetimes as EVs, and said the benefits of EVs can be expected to increase in coming decades as clean sources of power, such as solar and wind, are brought onto the grid.


I’m sure the study goes deeper but engineering explained did a video, even if you run on a coal power plant you can recoup the environmental impact within the lifetime of the EV.
https://youtu.be/6RhtiPefVzM