Easy—Israel is a much stronger ally than Ukraine, especially considering both regions. Also, we’re much more concerned about pissing Russia off (even more) than we are with Iran. Not to mention the politics here in the US involved with supporting Israel over the years. Oh and the regions are different as well in terms of US priorities, but I think I kind of mentioned that already.
But to be fair, I don’t think we should actively get involved with either.