Some dogs get along just fine with other dogs, but others have issues with their perceived competitors.
Male and female dogs together are less likely to fight each other than dogs of the same gender.
Spayed or neutered dogs also are less likely to enter the fray.