Charts like these explain the contrast well, but even these direct contributions to politicians do not capture the massive PAC spending by the fossil fuel industry on behalf of the Republican Party.
I'm not saying that Democrats were immune to their influence, but have grown more so tremendously.