More examples/details would be usefull. Like what have he said to you that was nice/rude? How have he responded to you in certain situations? How did you act towards him?
Also, What ages are we talking about here?
I don't know if I can be much help at this stage, there are manny possibilities why he would be rude to you.