Question for a friend about a friend

So my best friend has come to me asking a question. My friend is trying to get pregnant with baby #2
Her other friend is also trying to get pregnant and is constantly asking her if shes pregnant yet . Or her friend will say she craves something she thinks shes pregnant or her belly feels weird. And unfortunate sex talk my friend doesn’t wanna have.
Now shes asked me ( i don’t know the other friend)
That she wants her too stop asking her these things cause she wants to focus on her getting pregnant.
Now i told her her friend may just feel like she can talk to you and doesnt have anyone else.
So what is a very sensitive way to tell someone you dont wanna hear about their problems. I’m at a loss as to how to help her and to make sure their friendship isnt hurt.