The male chimps fight with each other to gain status, but it's the alpha females who decide who has the status at the end of each fight.
The winner of the fight maintains status, but not if the alpha female sides with the loser.