Actually, this trend makes pretty good sense.
Electricity - while the oldest form of generating electricity involved burning coal or oil, there had evolved several alternatives to it, thanks to electricity generation being stationary. Like hydro, nuclear, wind and solar. So it was not difficult to minimize one's dependence on carbon based fuels, aside from the political brinksmanship - the environmental protests that the dams will drown the fish, nuclear will be another Fukushima, windmills will slaughter birds that fly into it, leaving only solar, which is good in tropical and equatorial regions, but limited elsewhere.
Transportation is a different story, however, since one can't have hydroelectric damns on a train, nuclear power in a ship (aside from Russian icebreakers) or wind power driving a car. There, one is forced to use fossil fuels. However, if one can eliminate their use in electricity generation, that reduces their consumption, and ergo, whatever pollution they create. Hopefully, one day, solar powered cars would be completely viable.
Looks like the trend is right as far as reducing pollution due to electricity goes.