Everyone likes people for different reasons. Perhaps he doesn’t like you because he is interested in someone else. Perhaps he is already in a relationship. Perhaps your personality isn’t compatible with his. Maybe he finds you unattractive. He may just not be into you. The only real way to find out is to ask him yourself, but then again, he may lie and then you’ll just never know.