The cause is... randomness.
People make the mistake of thinking that 'random' means that both options are not just equally likely, but will actually happen equally. This is just not true.
Yep, you are right Tuna! It's purely by randomness, so I guess you could consider your tribes quite lucky. I don't think I have had more than four of the same gender in a row!