Russian President Vladimir Putin (R) shakes hands with Turkish President Recep Tayyip Erdogan (L) during a meeting in Sochi, on August 5.

Editor’s Note: A version of this story first appeared in CNN’s Meanwhile in the Middle East newsletter, a three-times-a-week look inside the region’s biggest stories. Sign up here.

Abu Dhabi, UAE CNN  — 

Wednesday marks six months since the Kremlin launched its invasion of Ukraine. As Russia bombs its neighbor, what has become the biggest European war since 1945 has had an outsized impact far south, in the Middle East.

A volatile region with an array of existing problems, the Middle East was no exception to the disruptions brought on by the conflict in Europe – with food shortages and inflation causing fear of political unrest amid a tug-of-war for allies between Russia and the West.

But in other ways, some of the region’s countries have prospered immensely as the fighting rages on, adding hundreds of billions of dollars to their coffers.

Here are four ways the Ukraine war has affected the Middle East over the last six months:

Energy exporters are cashing in

The war has seen oil prices rise to as much as a 14-year high. That has resulted in soaring inflation and economic contraction globally, but for energy-rich Persian Gulf states, it’s good news coming after an eight-year economic slump caused by low oil prices and the Covid-19 pandemic.

The International Monetary Fund predicts that the Middle East’s oil exporting states will make an additional $1.3 trillion in oil revenue in the next four years, it told the Financial Times last week.

The extra money means Gulf states will have budget surpluses for the first time since 2014. Economic growth is also expected to significantly accelerate. In the first four months of this year, for example, the Saudi economy grew 9.9%, the highest in a decade. In stark contrast, the US economy shrank 1.5%.

The war has also brought opportunities for the region’s gas producers. For decades, European countries opted to import gas from Russia via pipelines instead of having it shipped from faraway nations by sea. But as Europe weans itself off Russian gas, it’s looking for potential new partners to buy from. Qatar has pledged half of its total gas capacity to Europe in four years’ time.

The EU has also signed gas deals with Egypt and Israel, both aspiring natural gas hubs in the region. And on a visit to Paris this month, UAE President Sheikh Mohammed bin Zayed al-Nahyan signed an agreement guaranteeing the UAE’s export of diesel to France.

Strongmen feel emboldened

Regional strongmen that once came under harsh criticism from the West appear to be back in favor.

Despite vowing to turn Saudi Arabia into a pariah, US President Joe Biden visited Saudi Arabia in a landmark trip last month. The move was seen as a capitulation to the kingdom’s weight in the global economy in the hope that it would produce more oil and tame global inflation ahead of the US midterm elections in November. That move largely failed, with the Saudi-led OPEC+ oil cartel opting for a modest rise in oil production, which one analyst described as a “slap in the face” for Biden.

The war has also allowed Turkish President Recep Tayyip Erdogan to position himself as an indispensable figure in the international order. Faced with a sinking economy at home and elections next year, he has skillfully used his country’s geopolitical position to extract concessions for Turkey abroad by delaying the accession of Nordic countries to NATO. Erdogan has also maintained cordial relations with Russia while publicly opposing the war, selling coveted drones to Ukraine and even mediating between the belligerents.

Alliances are shifting

As trade routes shift with the war, so do alliances.

The UAE president’s adviser Anwar Gargash said in April that the war has proved that the international order is no longer unipolar with the United States at its helm and questioned the continued supremacy of the US dollar in the global economy. Abu Dhabi, he said, is reassessing its alliances. “Western hegemony on the global order is in its final days,” he added. The nation’s ambassador to the US said earlier this year that its relationship with Washington was going through a “stress test” after the UAE joined India and China in abstaining from a US-backed UN Security Council resolution condemning Russia’s war in February.

As relations with the West are reassessed, ties with China appear to be growing. The UAE last month referred to House Speaker Nancy Pelosi’s visit to Taiwan as “provocative,” stressing its support for the one-China policy. Saudi Arabia has also touted China as an alternative to the US, stepping up military cooperation with Beijing and considering selling oil to it in yuan. Chinese President Xi Jinping, who hasn’t made any foreign trips since Covid-19 restrictions came into place, is expected to make a landmark trip to the kingdom this year.

“Where is the potential in the world today?” Saudi Crown Prince Mohammed bin Salman (MBS) told The Atlantic magazine in an article published in March. “It’s in Saudi Arabia. And if you want to miss it, I believe other people in the East are going to be super happy.”

The US is taking note. In a Washington Post op-ed justifying his trip to Saudi Arabia, President Biden said he was putting the US in the “best possible position to outcompete China.”

Food and inflation crises raise tensions

Much of the world felt the impact of grain shipment disruptions following the invasion of Ukraine, but the Middle East was among the hardest hit.

Around a third of the world’s wheat comes from Russia and Ukraine, and some Middle Eastern states have come to rely on those two countries for more than half of their imports. War-torn Libya and economically shattered Lebanon took a hard blow from disruptions to the export of grain, along with Egypt – one of the world’s top wheat importers.

Ukraine’s grain exports resumed in late July following a UN-brokered deal between Kyiv and Moscow, and global food prices have stabilized since, but many in the Middle East are still waiting for stalled shipments.

The first ship carrying grain left Ukraine on August 1 and was initially bound for Lebanon. The shipment however changed course after Lebanese buyers refused the delivery, so it sailed to Egypt instead, according to Reuters.

Soaring inflation has also battered a number of precarious Middle Eastern economies. Rising commodity prices in Iraq and Iran have driven many to the streets in protest. And in Egypt, where just a decade ago an uprising toppled the former regime under the slogan “bread, freedom and social justice,” households of all income levels are seeing their spending power erode fast.

The digest

US airstrikes hit Iran-backed groups in Syria

The US military conducted airstrikes Tuesday targeting Iran-backed groups in Syria’s Deir Ezzor, US Central Command said in a statement. The strikes targeted “infrastructure facilities used by groups affiliated with Iran’s Islamic Revolutionary Guard Corps.” No one was killed in the attack, according to an initial assessment by the US military, but a Syrian activist group said at least 10 people were killed and three were wounded.

  • Background: American troops have been present in Syria since 2015 to combat the Islamic State, which has often brought them into conflict with Iran-backed groups. Israeli airstrikes targeted the warehouses at the same location in January 2021, according to Syria’s state news agency. The attack comes amid reports of indirect talks on reviving the nuclear deal between Iran and the US reaching an advanced stage.
  • Why it matters: As talks advance, the US may be sending a message that even though it is working on reaching an agreement with Iran, it will continue to target Iran-backed groups in the region. Washington has refused to remove the Iranian Revolutionary Guard Corps from its list of terrorist organizations, which Tehran had previously demanded.

Turkey says it has no preconditions for dialogue with Syria

In a softening of its stance, Turkish Foreign Minister Mevlut Cavusoglu said Ankara has no preconditions for dialogue with Syria but any talks should focus on security on their border.

  • Background: Turkey cut ties with Damascus 10 years ago in response to the uprising in Syria and backed rebels fighting to topple the Bashar al-Assad regime. But Turkey has in recent years maintained contact with the regime, directly through intelligence channels and indirectly through the Astana Group process, which aims to solve the Syrian civil war.
  • Why it matters: Turkish President Erdogan has indicated he wants to launch yet another military incursion into northeast Syria. Over decades of tension, Turkey has already launched three military operations against Kurdish fighters in Syria’s north, the latest of which was in 2019. Asked about prospects for talks, Cavusoglu said they would need to have specific goals. “No conditions for dialogue, but what is the aim, the target? It needs to be goal-oriented,” he said.

Beirut port silo collapses two years after fatal blast

The northern wheat silo damaged after the deadly Beirut port blast in 2020 collapsed on Tuesday, state-run NNA reported. A large dust cloud was sent into adjacent areas of the port after the implosion as smoke from fires continued rising from the debris.

  • Background: On August 4, 2020, hundreds of metric tons of ammonium nitrate ignited, sparking a massive blast in the Lebanese capital’s port, killing more than 215 people and injuring thousands. The silos had been on fire since then. Over the past month, segments of the silos were collapsing gradually as the army continued cordoning the area.
  • Why it matters: The silos had become a symbol of dysfunction in Lebanon. Earlier this year the government had rolled out a plan to demolish them. Civil society groups, who see the silos as a memorial to the blast, reacted with outrage, and the plan was scrapped.

What to watch

Water shortages have turned the lush green marshlands of Iraq into a desolate desert. Watch Jomana Karadsheh’s report on the effect of climate change in the country.

Lebanon: #Bachir_Gemayel

Twitter users in Lebanon are marking 40 years since Bashir Gemayel was elected President by the country’s parliament. He was assassinated before taking office in 1982.

A deeply divisive figure in Lebanon’s history, Gemayel founded and led the Lebanese Forces, the military wing of the Christian Phalange party that continues to play a role in the nation’s politics today. He was supported by many Lebanese Christians but considered a traitor by others for his cooperation with Israel, which invaded Lebanon in a 1982 war.

In October 2017, Habib al-Shartouni, a member of Lebanon’s Syrian Social Nationalist Party, was found guilty in absentia by a Lebanese court for planting the bomb that killed Gemayel.

Oman: #Turn_on_Discord

Omanis have turned to Twitter to complain about not being able to access popular social media platform Discord.

With over 150 million active monthly users, Discord plays a big role in the lives of gamers as it serves as a chat room for private games as well as those streaming their games.

Discord also grew to become a significant element in the utility function of non-fungible tokens (NFTs), which are growing in popularity around the Gulf states.

An account that tracks Discord outages tweeted that the service has been banned in Oman. Oman’s Telecommunications Regulatory Authority told CNN it couldn’t comment on the matter.

“I can name 10 other, more deserving services to be blocked in Oman, but you have gone ahead and blocked the useful one,” a disgruntled resident tweeted.

Saudi Arabia: #How_many_wives_would_you_take

Saudi men took to Twitter to ask each other how many wives they’d like to take.

While one user said marriage is not a “priority” for him, while another lamented that men could hardly attend to one wife. One user tweeted a photo with the number three.

Islam allows men to take up to four wives. While the practice isn’t widely adopted in the Muslim world, it isn’t uncommon either. Women can only take one husband.

According to the 2019 report by the Doha International Forum called State of Marriage in the Arab World, information on polygamy in Saudi Arabia is not readily available. Among the countries that were surveyed, Kuwait topped the list of polygamous countries with around 8% of married men having multiple wives.

Photo of the day

Children pose for an aerial photo on the dried-up bed of Iraq's receding southern marshes of Chibayish in Dhi Qar province on Tuesday.