Because despite it, you're probably a really cool guy. Everyone has their own insecurities, they probably have their own and you probably don't point it out to them like they do. Nobody's gonna hate you because of the smell, at least not anyone with any sense anyway. Nobody's ever been brave enough to tell me that I smell to my face, and I think if they did it would probably be better, cause I could just stop doubting myself and never being really sure if I smell or if I don't. Certainty is something you don't often come by, don't take it the wrong way. If they're telling you that you smell... ask them for suggestions, they're clearly not that intent on bullying you if they "want to hang out." Don't treat this person or these persons as your enemy/enemies, treat them as your friends.