I don't think there's anything "occult" going on. Basically, the mother probably chose a guy that looked like her late husband (if they were even married to begin with). It's possible the mom can't even bear children anymore, so when she said she was glad her child was born a girl, it was...