https://www.caranddriver.com/news/a30368903/mazda-mx-30-ev-vs-diesel-emissions/

Sample quote

Mazda is suggesting what no automaker wants to sanction: that lithium-ion batteries degrade over time, reducing performance and range, to the point where it could negatively affect long-term ownership. There aren't enough EVs with six-figure mileage to say for sure, but it seems accurate that fast charging, depleting the battery to empty, and age can all reduce battery health.

Mazda is also suggesting another hot take: EVs with large batteries are bigger polluters over their life cycles than EVs with smaller batteries. This makes sense, given the energy needed to replenish a battery at several times the capacity of the MX-30. Mazda cites a life cycle assessment by the journal Sustainability and quotes an unnamed figure of the European Union's average CO2 emissions from producing electricity in 2016 to say all this.

Yes, diesel cars pollute with other gases and particulates at the tailpipe that EVs don't. But at least the CO2 emissions from driving an EV are mostly understood, since battery-electric cars can only run as clean as the local electrical grid. Then there's the humane problem of people in poor countries mining rare-earth minerals, and the environmental impact of extracting lithium.
End quote