Why do your friends typically hate when you’re doing well or finding success?

A couple of months ago, I made the decision to stop telling my friends about some successful things that happened to me, and it was probably the best choice I’ve ever made. I used to always get made fun of when trying something new, or they would immediately start downplaying my accomplishments and trying to one up me for no reason.

Why is it so hard for people to be happy when you’re doing well ? When my friends told me about something they were doing or succeeded in, it inspired me to want to better myself. I’d even ask them for tips or advice. I always gave them their props. But when I feel good and want to share something I accomplished, I never get that same energy in return. Idk, this is just a rant. But I’ve never understood why it’s so hard for people to not hate.