It’s a rough feeling. I don’t know you, obviously, but to speak for my own experience with sometimes similar things, I’ve found that often there’s just a barrier that makes it harder to connect with certain people, and there are others who are easier. Having difficulty connecting with certain people doesn’t necessarily make you unlovable, and I know sometimes when we know we’re made to be an outcast a lot that can make it harder to connect as well Do you have any like minded friends?
It’s likely your thoughts, ideas, & self is not something that is common between y’all. And that’s okay!!! They know you see through them, and have more depth and they just may not like you for being different in that way. Even if you say nothing, they know ONLY becauseeeeee you say nothing. Find like minded people like #2 said!! There are people who would never do this to you, and would notice before you even did. which, it seems you only now just realized. Those aren’t your friends.