Need help with life

Okay, so there is this boy at my school. I go to a boarding school so there are few people of my ethnicity and race at my school, considering I am Hispanic. There is this other Hispanic at my school from Mexico and we were in the same class Freshman year. I did something because he wasn’t participating and he was upset by that. But even before that, he never really liked me but liked every single other person in my friend group. But, weirdly enough, when I’m mentioned in a conversation, he says that he really admires me, says hi to me on the path and he even asks me if I’m okay when I’m not feeling at my best. But, I thought he hated me. Is he just doing it because he’s nice? For social status? Does he want to be my friend? Does he hate me? Idk, just need advice on that. Ask questions if you want to help me analyze the situation a bit more