Real question, why do you say that?
My read is that they are saying the doctor should have said “it is your choice”. Instead, the doctor said “it needs to be up to your future husband”. This is worse than the FUD about why their future husband would not like it.
Where is the sexism?
Imagine how much less would get done overall and how many fewer people would participate if we did not let people work on what they wanted to work on.
The only choice left would be to contribute or not and more people would choose not to contribute (probably the choice you have made).