Why can't I be happy for people?

I'm not a negative person around others I tell them what they want to hear but in my head I'm not happy for them and I think the worse things. Wth is wrong with me?