BEERSHEBA, Israel: US President Donald Trump said a ceasefire between Iran and Israel was in effect Tuesday after the deal initially faltered and the American leader expressed deep frustration with both sides.

Israel had earlier accused Iran of launching missiles into its airspace after the truce was supposed to take effect and the Israeli finance minister vowed “Tehran will tremble.”

Iran’s military denied firing on Israel, state media reported — but explosions boomed and sirens sounded across northern Israel midmorning, and an Israeli military official said two Iranian missiles were intercepted.

Trump told reporters at the White House before departing for a NATO summit that in his view, both sides had violated the nascent agreement. He had particularly strong words for Israel, a close ally, while suggesting Iran may have fired on the country by mistake.

But later he said the deal was saved.