The US president has signalled he may get involved in Israel's fight against Iran but has not made a final decision.