Gender is being used here as "trait arising from genetic sex + behavior". It's not the same as the human social construct, but it is analogous. It's also not commonly used in biology in this way from what I've seen, for what that's worth.
... But I have to ask: to what end? What political group is massively benefiting from this insidious ornithological analogy?