There really isn't anything to get. He asked you out and you said no. He was probably annoyed with the rejection. Either he thought because he paid you a compliment you'd swoon, or he really has no social skills to speak of. Either way, don't let it get to you, kiddo.