Situation is middle east is changing altogether. KSA after negotiating with Iran now shakes hands with Syria. KSA making peace means all Gulf countries doing the same. KSA has also shown tilt towards Russia and China which is clear indication that KSA is looking for new alliance. But if KSA moves away from USA then what will happen to KSA billions of dollars residing in USA banks ?
It's a matter of accepting defeat. They couldn't fight the poorest country in West Asia, Yemen after 8 years and with the full support of NATO only because Yemen had a single friend called Iran. Same with Syria, Qatar, Iraq, etc.
They had to accept defeat at some point, specially after in only 1 hour their oil production was cut in half back in September 2019 when Yemenis retaliated hard against their invaders' infrastructure.
It's amazing to know that Iran has such technology or they have such combat experience that they can make USA nuclear powered submarine to surface. For decades Iran has been isolated because of USA sanctions and despite that Iran is standing shoulder to shoulder with USA in military technology.
As they say necessity is the mother of invention. Although I may be biased but I wouldn't say shoulder to shoulder because US military technology is mostly fake and in some cases very outdated. In a lot of fields when you actually compare the two, the US military technology looks more like a joke. Like in the missiles field. There a bunch of factors but in the accuracy alone the Iranian missiles have an error of about 1 meter per 1000 km range while US missiles have an accuracy of about 100 meters per 1000 km range! Of course 1 meter is the official release but it feels like an understatement when we have satelite images like this:
https://ibb.co/5nn2PD4 from the US airbase where the Iranian missile has hit the bullseye.
From what I gather the reason is because the military sector in USA has turned into a business that milks the government for outrageous amount of funds to produce ultra expensive products that aren't even up to the standards.
Take Lockheed Martin. They milked US government for hundreds of billions of dollars in early 2000's for 10 years to return multiple failed project until they produced an aircraft that they called "The Beast". That is RQ-170 and it was supposed to be stealth.
Long story short US Intelligence thinking it is the most advanced stealth aircraft to that date tried using it over Iran for spying, little did they know that the moment it crossed Iranian border on 2011-12-4, this multi-billion dollar project would easily be hacked and then safely landed and captured by Armed Forces of Iran which would then continue to reverse engineer and mass produce it with a dozen variations at super cheap prices

There are lots of examples too: RQ-4C which USN had 3 of, F35 which is the biggest failure among fighter jets, Patriot and THAAD systems that are a joke among air defense systems, USVs that regularly get lost and hacked at sea, etc.