China’s opposition to the U.S. and Israeli war on Iran is stoking tensions between Beijing and Washington just weeks before a high-stakes meeting between Presidents Donald Trump and Xi Jinping.

The Middle East offensive, which has killed China-friendly Ayatollah Ali Khamenei and a slew of other Iranian officials, shows the U.S. doubling down hard on its willingness to eschew diplomacy and launch high-risk military operations in pursuit of its global goals. The war began less than two months after the U.S. attacked Venezuela to capture the country’s president, Nicolas Maduro, and his wife, who are now both in custody in New York City.

The actions also show that, even as a tumultuous trade war between the U.S. and China has settled into an uneasy detente, the Trump administration is willing to rock the boat in countries where Beijing exerts significant influence.

The attacks aren’t likely to halt or compromise diplomacy between the two superpowers. But they will set the “mood music” for Trump’s upcoming summit with Xi in China, said Tim Keeler, partner and co-head of international trade at Mayer Brown.

The display of speed and force in the Maduro raid was “nothing short of stunning” and served as a reminder to China of U.S. military capabilities, Keeler said in a phone interview.