To play devil's advocate - a personal anecdote: in a previous job, a newly hired manager announced she was pregnant and going on maternity leave in 6 months - threw our department into chaos. To me it seemed clear that in her mind, getting the job was a green light for getting pregnant - at the expense of the company! I can't blame companies for being nervous about these kinds of scenarios.