Used to be that USA and Saudi Arabia were allies of necessity. Not so much anymore. Once the US can project power without risk of getting strangled by OPEC they are no longer a necessary ally, only a convenient one.
I guess Obama telegraphed this message early on in his presidency when he gave that speech in the middle east where he basically said the US would no longer prop up leaders that are not supported by their people.
My theory is that China and the US looked at the projections for 20 years ahead: Oil production would no longer be able to keep up with demand at that point. So time to make the change, and screw over Russia while they were at it. No longer having to prop up a cluster of corrupt despots who desperately tried to hold back the future with guns and bribes is a nice bonus. ISIS and Al Qaida is basically what USA reaps from that
"The eleventh commandment was `Thou Shalt Compute' or `Thou Shalt Not Compute' -- I forget which." -- Epigrams in Programming, ACM SIGPLAN Sept. 1982