In those large, chaotic battles where nobody is wearing uniforms I have to imagine there’s a lot of confusion and friendly-fire. There was an episode of The Norsemen on Netflix where two large coalition armies of Vikings had an epic battle with many casualties, and in the aftermath a couple of the victorious Vikings were having a funny conversation with each other on how there’s really no way to tell which side you’re fighting against with everyone more or less dressed the same and nobody wearing uniforms, so they just attacked whoever was in front of them.
But maybe monkeys are just way better than humans at recognizing each other in those situations.