Why would a guy continue staring at a girl is she shows a little interest back?

Why would a guy continue staring at a girl is she shows a little interest back?I made eye contact with a guy in school in the hallway, because I felt watched, and except he never stopped looking my way. I showed interest back by also staring back at him and giving him a little smile. But why did he continue staring and why didn't he approach?