Enough research and you'll also find fossil fuels still leave a smaller carbon footprint from material harvesting to endlife disposal the than electrical cars; but we have to start somewhere to get where we need to be.
That comes from a former Tesla engineer's report I got to review (RIP)