What does it mean when a boy says you're so beautiful?

This guy in my class always stares at me but never talks to me my friend was walking by him and I we were at our lockers there is a door in between the lockers so his is on the side she said that he kept looking at me a lot and he dropped something (saw that btw) and said "(my name) why do you have to be so beautiful"
What does it mean when a boy says you're so beautiful?
Post Opinion