If someone has experienced a lot of the later, it makes sense that they don't really trust the former.
That said, I understand relationships are about give and take. I couldn't be in a romantic relationship like this, but I'll indulge my friends or my cousins. I have a friend who engages in "countersignaling" often. Our connection is generally worth the uncomfortableness, but sometimes it is unbearable.
With age Ive found myself much more comfortable with folks "being mean, but in a friendly way" as they intend it. When I was younger though, I never understood why folks didn't instead just "say the nice part." Like, if your friends are always glad you join them even if you're always late, making fun of you for being late with a big smile can still feel pretty bad for you. Much better to say "hey please don't be late" and also "we really enjoy you spending time with us."
With age Ive come to see that for reasons I don't understand, lots of folks have a massive aversion to saying clearly the things they appreciate about the people around them directly. Eh, their loss.
It's also sort of the same reason shows like It's Always Sunny in Philadelphia are funny. When you're jokingly mean to a friend, you're being a bit of a caricature, an exaggeration. That's part of the fun of it, too. And why it can get a point across while keeping it light.
It's very common for people to engage in the bullying, thinking that they are just ribbing; perhaps, never having experienced the safety that is required for ribbing.
Would you mind being friends with someone like me? Or do you feel like engaging in that behavior at all, even if not directed at you, is enough to make you not want to be friends with them?
They never directed any of it at me because they were emotionally intelligent people, but even so, I did find it kind of annoying and off-putting - it was just a legitimate cultural difference.