If the answer is no, then bigotry is at play. It's impossible to know this answer, so we should just make it painless to take time off. I know of plenty of academics who go on sabbatical, fall off the face of the earth, and ignore every department email for a year or however long. This process actually improves their career, not hinder it. Taking time off is harmless.
A 'career' is something pop singers and top athletes (male or female) have. They even have agents to manage those careers. But most people have a job; they do work, travail, tripalium.
The fact that people confuse the two is just capitalist propaganda.
https://www.etymonline.com/search?q=travail
Maybe I shouldn't be so surprised, since English still has the word "travails".
"Work" on the other hand means action, doing:
https://www.etymonline.com/search?q=work
That's quite a difference: one is something no one wants, and the other is something everyone does.
"Labor" falls on the "travail" side, meaning exertion, pain:
This flexibility and cost you are talking about is borne entirely by them as they rearrange their lives and attempt to make things work while men continue with barely any disruption.
I'm my opinion this is deep, unintentional, structural sexism. It is the biggest issue I have with articles like this.
Stamping out overt workplace harassment and sexism is barely the beginning. There are deep structures in place that have benefited men like me for millennia.
These need to be considered not as complicated side issues but as the core barrier to achieving equity (as opposed to equality) in these fields.