Happy but mad

My friend who wasn't even trying or thinking about getting pregnant, just found out she is. I'm happy for her, but mad and hurt. It's like everyone around me is pregnant or just had a baby. I'm just so sad that it's not me.