Earlier quoted context omitted.
You are, obviously, completely correct on the point that you raise. However, I am sold on those sort of laws on the basis that employers are discriminating on irrelevant dimensions, like race and gender. 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 han…
While we're at it, why shouldn't any prospective employee with a health condition that might require extensive time off be required to disclose that? And, since people aren't often the best judge of their health conditions and the impositions they'll make on future employers, perhaps it'd be better if we all just disclosed our complete medical records along with our job applications.
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.