Years ago, I worked at a big aerospace company (that no longer exists). I was hiring a small team of software engineers. I was flat out told not to hire anyone who was, or wanted to be, pregnant. Why? Health care cost. We were self-insured, and a baby born with severe health problems could bankrupt our plan.
As an aside, just another example of how our f'd up healthcare system causes all these additional negative follow on effects.