Question: what does it mean when a guy has a girlfriend but likes you?
Answer: He may think you're attractive. He may want to convince himself that he's still hot stuff who can get any girl he wants if he chooses to. He may just want some excitement in his life. Or he may just be trying to have some fun when his girlfriend isn't around, or using you to make his girl jealous.