Honestly i don't think its your fault for this to happen.
But it is most definitely extremely disrespectful to intentionally befriend and then shoving them away from a friend group simply for not liking you.
I don't think an apology is enough for making someone feel emotional hurt like that.