Why did some Arab countries appear to help Israel?

Some analysts saw the fact that Arab nations helped Israel and the US repel a major Iranian attack as cause for celebration. But countries like Jordan have more complicated motivations for coming to Israel's aid.

Why did some Arab countries appear to help Israel?
Some analysts saw the fact that Arab nations helped Israel and the US repel a major Iranian attack as cause for celebration. But countries like Jordan have more complicated motivations for coming to Israel's aid.