It's the same as any recommendation engine: Because you've bought x, based on similar patterns from other customers you're probably likely to buy y. The fact that it's pregnancy-related makes for a good (and slightly controversial) news article.
Throwing in the additional information that exists outside their system can lead to even better and timely recommendations.