My crush said he doesn't like me. why he wants my attention and try to make me look at him?

We are in (middle school), when I start ingore him he wants my attention and try to make me look at him, and when my friend asked him he likes me or not, he said no
My crush said he doesn't like me. why he wants my attention and try to make me look at him?
Post Opinion