when to ask a woman if she's pregnant

One mom says there are two scenarios in which this question is appropriate.