Mostly I think it comes down to one group thinking they have to fight to survive against another group, or fight because they want something that the other group has.
Or, in some cases, because they're superior to the second group and want to wipe them out.