unfortunately you failed to mention why you called Muslim/Arab countries in the first place, allow their bases and territories to be used by western aggressors as the launching point for attacking another Muslim nation you seems not to be in your favour.
This is the key to understand the causation before pointing fingers to who is fault.
You ignore although Iran only contributes to a small fraction of the total oils imported by China, this fraction settled in Chinese yuan instead of USD, this is significant for China to promote her own currency settlement, especially when yanks weaponising USD more and more. For the same reason Yanks overthrew Venezuela previous regime so that Oil exported to China will no longer settled in Yuan. Further earlier, Saddam was hanged because he attempted to settle Iraqi oil exports in non usd currency.
In old Chinese saying, enemy’s enemy is your friend. Losing Iran will harm China’s position strategically, given yanks are enforcing their Cold War style alliance to block China in every front and attacking directly ( weak nations such as Venezuela, Iran) or through proxy war against ( Russia) China’s mere friendly nations left.