However, let's play devil's advocate and extend it to the man's case too. If I put myself in the role of a VC I would think twice about hiring anybody who's going to have children soon. Children, from what I gathered, are emotionally and physically draining for both parents. If you add up the challenges of having a startup, which is like another child well that's a good damn reason to refuse investing.
The problem is that pregnancy and a child coming soon can be physically seen on a woman, but we can't ask a VC to be blind on that.