An employee expecting, or indeed planning, to take a X months leave Y months after joining, with X > Y, isn't an irrelevant dimension. Especially if parental leave is paid, but I don't know if that is how the US handles leave.
An employee literally cannot be a high quality, productive worker if they are not working. Employers should not be forced to ignore relevant factors when hiring. That isn't fair on them.
And while you might see pregnancy as equivalent to having a medical condition there are actually a number of fairly important differences. For example, in the modern era, pregnancy is more controllable than illness. Quite a number of people enthusiastically plan on it. Those aspects, intent and control, are important for determining who should bear the cost. The cost should not settle on an unwitting employer looking for a new hire.
Fortunately this is exactly how it's implemented in most European countries: if the employee is not working the employer doesn't pay. The (usually state run) insurer does.
Requiring businesses to pay for someone taking time to care of their children is patently stupid and unjust and there is fully justified pushback against such laws.
But they are - that's the law. The same legal system that allows the corporation to exist at all and earn money in this environment requires them to ignore the fact that someone may be going on maternal leave and not discriminate based on it.
We the voters have decided that this is more important than the profits of any company, and in the end the voters (i.e. mostly employees) get to decide the rules of society, not the companies.
Guess what, in our industry the people that are planning to have kids are also very likely to be senior and experienced. They're hard to recruit. Consider leave as part of the cost of hiring good people.
If you're not doing things like this, you're not actually competing for top talent.
Great, but the parent poster is hiding(again, rightfully so) their planned leave from their future employer.
I would hope that someone looking for a long term employment at a company would be honest and upfront with something like a planned 1-year vacation. My only gripe with the parent poster is that they are hiding(rightfully so) this so close before their planned leave and thus do not appear serious about a long term employment at that company.
It's actually in your best interest as the hiring company to not find out if the person is pregnant or expecting to have a child. Let's say that you decided not to hire someone for a set of reasons unrelated to pregnancy, but along the way you asked the candidate if they were planning to get pregnant. Good luck proving that you didn't make the hiring decision on the basis of knowing they would take leave. Which of course is illegal under the Pregnancy Discrimination Act. This is why most companies make it a policy that you can not ask these kinds of questions so as not to taint the interview (even though technically it's not illegal to ask the questions, it's just illegal to use them as a basis for your decision).
As a candidate you might actually be acting more in the interest of the company to not tell them you are going to be having a child so as not to put them in that position? I honestly haven't thought through it that much so I could be convinced of a different opinion.
If you're planning to continue working after having a child, I think you should go about your career as if the pregnancy wasn't happening and just take the leave as appropriate. If that means you work 6 weeks before leave, so be it. You'll be back after leave to continue on.
What would the company do if instead of getting pregnant you got hit by a bus one day? I had to take 2 months of medical leave on 2 weeks notice when I got deathly ill, that was way less notice than a pregnancy. The startup I was at had only 12 people and they handled it. I'm unconvinced by all these arguments that it's too much of a hardship for companies to deal with their employees having a life.
If your old job doesn't provide halfway decent health benefits or paid parental leave, of course.
If your old job sucks your soul and makes you want to slit your wrists, of course.
But, obviously, we're not talking the same kind of "makes sense" here, are we?