President Trump’s contradictory comments left Israelis and Iranians trying to understand whether and how the U.S. would intervene.