Why is the cozy relationship between oil companies and the president only important if the president is a Republican? But if the prez is a Dem, everyone is fine with it?

(may be broke/outdated!)
Why is the cozy relationship between oil companies and the president only important if the president is a Republican? But if the prez is a Dem, everyone is fine with it?