I dont think they have done anything remotely comparablely stupid. I think a lot of people don't like Israel and that colours their assesment on how rational they view Israel's actions.
As far as USA goes - countries dont have friends they have shared interests. They are allies because their interests largely align, but they are very far away from perfectly aligning. I think people believe the propaganda that Israel is a vassal of USA too much - that isn't the case; Israel has more than enough power to plot their own foreign policy and they dont hesitate to do so when it suits their interests, just like any other country does when they have the ability.
As far as USA goes - countries dont have friends they have shared interests. They are allies because their interests largely align, but they are very far away from perfectly aligning. I think people believe the propaganda that Israel is a vassal of USA too much - that isn't the case; Israel has more than enough power to plot their own foreign policy and they dont hesitate to do so when it suits their interests, just like any other country does when they have the ability.