Question: he has a girlfriend but keeps looking at me?
Answer: It could be that he is attracted to you especially if he only does it with you, he does it numerous times and if he shows other signs of attraction around you. He might also think you're staring at him, have a habit of staring, be annoyed with you or his girlfriend might have told him something about you.