What would you do?

I have a group of close friends and once I found out I was pregnant a few of them started to treat me differently. In particular one of my friends stopped speaking to me because she "didn't know how to handle the situation". My closest friend is hanging out with her behind my back. Personally I'm not the type of person to tell you who you can and can not hang out with. However, I feel like as a "best friend" if someone isn't speaking to me you shouldn't just stop hanging out with me and hang out with them more. During my pregnancy I have repeatedly tried to extend my hand to them in friendship but I'm getting to the point where I feel like I'm doing the most.
Should I keep trying to be friends with these people? Do you think I should even invite two people like this to my baby shower?