According to my "the cheapest thing is the best for the environment" theory, this was easily predictable.
Energy means fossil fuels. To a first approximation, other energy sources can be ignored. And in the modern economy, money ~ energy. When fuel (i.e. energy) prices go up, the effect ripples through the whole supply chain, touching absolutely everything that is manufactured and shipped. The costs associated with most products are dominated not by human labor costs but by energy costs. And since our modern agriculture essentially exchanges energy for food, even human labor comes down to energy costs.
Therefore, TO A FIRST APPROXIMATION, the cheaper of two alternatives is better for the environment.
Electric cars are more expensive than gasoline cars, and often would never exist except for subsidies. If they were really more economical, they would already be popular. Ergo, per The Theory, they are worse for the environment.