Yes, we know. That's the joke. That theoretical unborn baby health comes before women.
Because let's say there's a woman comes in, crispy, bloodier than a rare steak, limbs hanging at right ankles— Probably going into shock if she's not already there. Baby or not, it dies if she dies.
Now, let's say she's lucid. In the slim chance she's got a surprise baby, what does her period have to do with that? Maybe it was four weeks ago but she's been getting freaky with her knight honey, trying for a family of little squires. Or, let's say she's on birth control, or has an irregular period, onky dates women, or trans. A better question to ask is: "are you pregnant or could you be pregnant?" And still you've wasted five seconds while she's bleeding out and her heart rate is crashing.
It's making fun of the dystopia for women that's the culture and policy in some countries, not asking for an explanation.