Why would a guy stare, but then ignore when you go closer?

Like I was at this coffee shop recently... and I noticed this guy working there kept looking at me... So I looked back at him...
Plus he kept coming back on the 2nd floor (where I was sitting), so everytime he'd come up, my eyes would notice him (i mean there was movement so yeah). also it was the first time i'm seeing someone who works there, be so eager to clean up the 2nd floor lmfao (but thats a different story).

Anyway... he would look at me from afar (steal glances or just painly stare), but when i got close to him to throw something in the bin, he took my garbage and threw it for me... but he did it while turning his back at me and didn't even look at my face O_o... It was really weird...

Was he weirded out by my stare? lol
Why would a guy stare, but then ignore when you go closer?
Post Opinion