Buffering to feel worse

I notice that when I’m upset, sometimes I will go immediately to Facebook, which is almost guaranteed to get me even more upset because no matter how much I try to hide people, I still see posts on topics I don’t want to give my attention to and then my negative thoughts about what I see compound the negative thoughts I was already having. I’m wondering why I do this. Why buffer to feel even worse? Am I looking for reasons to affirm my feelings? I could do thought work or even just take a nap instead, but I don’t.