This is because some Pokemon cannot be the other gender.
Gamefreak wanted it this way. They wanted Braviary to be only male maybe as a representation to America as a fatherland, and Mandibuzz to be female as a representation to the Amazon.
But there's no real reason other than of course,
Hope I helped!