Which brings us back to Trump’s remarks on Wednesday at the UN Security Council in which he thanked Iran, Syria, and Russia for their “restraint” in Idlib. The president made clear, yet again, his administration’s ideological opposition to the Iranian regime. But he also had to acknowledge the Islamic Republic’s role as a regional power in Syria, and its ability to prevent humanitarian suffering in Syria.

This may seem odd given that Trump has made it more difficult for refugees from Syria and elsewhere to resettle in the U.S. Indeed, he reiterated Monday at the UN that refugees should be settled close to the countries they fled from, even though only about 1 percent, the worst-affected refugees, are resettled in Western countries. But the president has also shown a vulnerability to images of children who are victims of conflict. Trump’s predecessor, Barack Obama, famously declined to use force against Bashar al-Assad, who is backed by Russia and Iran, even after the Syrian leader crossed Obama’s “red line” on the use of chemical weapons. Trump hasn’t hesitated. Twice he has used U.S. military force against targets in Syria after the use of such weapons, which are proscribed under international law.

The first time this happened was in April 2017 when Assad used chemical weapons in Idlib, the same place Trump referenced on Wednesday. “Using a deadly nerve agent, Assad choked out the lives of helpless men, women, and children,” Trump said at the time. “It was a slow and brutal death for so many.” A year later, following Assad’s use of chemical weapons in eastern Ghouta, the U.S. military—supported by Britain and France—struck key government targets in Syria. “The evil and despicable attack left mothers and fathers, women, and children thrashing in pain,” Trump said at the time, calling the attack in Douma the “crimes of a monster.”

The worst may be yet to come in Syria.

What could happen in Idlib may be even worse. The province, which has a population of 3 million people, is the last rebel redoubt, and Syrian forces and their allies are preparing to launch a massive military attack against the thousands of militants, including those who are linked to al-Qaeda. In previous offensives, as in Aleppo and eastern Ghouta, Assad has shown little hesitation to use either heavy conventional or chemical weapons against civilian targets. International diplomacy, led by Turkey, has managed to delay the offensive on Idlib for now.

It is this delay that Trump praised Wednesday in his remarks at the UN Security Council. The president knows that there are al-Qaeda–linked militants holed up in Idlib (the U.S. is fighting ISIS in the east of the country), but he also wants to ensure that the military offensive spares “the 3 million people who live there.” It is unclear what will happen to those 3 million people once the Syrian offensive begins. It is equally unclear whether Trump’s humanitarian impulse trumps his instinct to urge Assad and his allies to “get the terrorists.”

What is clear, however, is that Trump appears to be perfectly fine skating between these two realities: a hard-line policy toward Iran versus a realist grasp of the situation on the ground in Syria.