For example, there are 3 factions around. All are enemies of each other. One is stronger than the other two. Obviously the two enemies will temporarily unite against their stronger enemy, and only when he's dead destroy each other. That seems perfectly sane to me.
Except the "killing people" part, of course, but it's a game.