What is wrong with me

Didn’t know which sub to ask so you can also give recommendations on that.

I have come to the conclusion that it’s probably my fault friends and coworkers kind of stop talking to me but I honestly don’t know why. When I make jokes people laugh and sometimes just chuckle a bit and sometimes the jokes fall flat but that’s life. I don’t think I’m mean I only make jokes about people if I’m sure they can take it. And I think I try to be as supportive and helpful I can be. I just want to know some things that I could be doing so I can fix it. If you have any advise at all I would appreciate that very much.