Leaders of Iran and Israel have exchanged threats in recent days, with Israel bracing for a possible attack from Iran.