There often isn't a male category in sports and games - it is an open category, but usually male only because of male advantage (for whatever reason). Occasionally a woman breaks through in the likes of darts - not athletics - but it's unusual.
So the women's category is a category like juniors, seniors, para, which you have to meet certain criteria to qualify for. This is why there is a swab test for the women's and not for the men's.
It is perfectly reasonable to have criteria for this group.
It is not the same as the criteria for a men's group, because men tend to have their own groups in sport through natural selection, not qualifying criteria.