My friend just announced she’s pregnant

AB

I text her back I’m happy but she is in shock. Not really trying just not being careful and just like that she is pregnant. I know it’s wrong but I’m bitter and upset it isn’t me. I’m crying asking God why and bawling my eyes out. She’s 40 almost 41 first baby and it happened. I’m in shock as well. She doesn’t know my Fertility struggles as I’ve only shared with my best friend. How can I change this horrible feeling 😢