The battery has a life of ~120k miles, constructing the battery (and often, but not always, the electricity used to charge it) is so polluting that ICE cars will typically pollute less over that same period of usage. That is what I am saying: nothing about stocks or flows. The difference in pollution is, if it exists, very marginal.
EDIT: I will add, look at how cobalt is mined...it is a slave commodity from the Congo, no rules, no environmental laws...same for many other constituents of the battery.