I guess he has a valid reason to not want to be around him cus their feelings aren't the same, they are not on the same page. At first, i thought he has inferiority complex cus he wasn't the first place on his exams, that's a dumb reason to break off a friendship, but i guess this is fine