Ask yourself why you like the people you like. What are the qualities in them that attract you?
I don't know if this is the case for you, but many people are attracted to people that don't like them or are mean to them because they think that is what they deserve.
If you don't feel good about yourself, you are going to be confused and repelled by people who are attracted to you. It will make you feel uncomfortable and suspicious because you don't think that their feeling is genuine.