Alliances between countries are not formed in a rational way just on a specific issue normally, but based on previous actions and previous issues, and old loyalties. To betray those loyalties just means no-one will feel any loyalty to you - that may work in the short-term if you are big enough but long-term it's a terrible strategy.
So in that sense countries are like people, though I agree in many senses they are not.