Women make up 75% of pediatricians. If I say that this is because men aren't as good at pediatrics, am I saying that men are stupid?
[1] http://blog.leeandlow.com/2016/01/26/where-is-the-diversity-...
Also, can you clarify what you mean when you state that pediatrics is "an example that's a biological function primarily to do with women." Are you stating that women are innately (in other words, due to their gender) better suited to administering healthcare to minors as compared to men?
64% of practicing gynecologists are men, but only women have vaginas.
You don't have to give birth to children to be a pediatrician or a gynecologist.