It hurts to be exposed to people having what you so wish you had yourself and making it seem like they are boasting about it (when they are only shared their happiness).
The worse for me was when I was desperate for a child with my partner. We both worked hard, were financially stable, and well, would have made excellent parents, but nature so it differently and after a miscarriage, we were told we couldn't get pregnant with IVF but not entitled to NHS funding and even then the chances were very low.
At that time, my ex called me to tell me (because he didn't want to find out from our children) that his partner was pregnant (by accident of course, although they'd been asking the kids how they would feel having a brother of sister!!). They were both on benefits, I was getting no maintenance at all from him, had to provide all the transport for them to see him, between the two of them, they already had 5 children....
All this to say that it's not just media that make things hurt, but the reality is that happiness goes around, but people don't tend to expose when things are not good for them.
Chin up, if it gets to you, stop going on Facebook and the rest, it is only going to make you feel worse.