It started well before Dieselgate with CARB trying to regulate diesels out of existence. There is a long history of activist statements to the effect of, "diesels do not belong on our roads," or indeed even farms.
But yes, Dieselgate did, um, throw fuel on the fire.
Interestingly, the...