It's a similar story in cities. The haze or smog from cars and buildings shields cities from some of the heat coming from the sun.
As we electrify vehicles and buildings, cities might get warmer.
(Obviously we should still do it, but it is what it is)