Why do guys just stare?

Recently I was at a drug store, I was looking for snacks then wandered to another aisle. I was distracted when I felt someone staring at me at the corner of my eye. I looked to my right and saw a young police officer turning to stare at me. I had no idea why he was looking at me and I thought that if I just ignored him, he would look away. I returned to picking my snacks. About 20 seconds later, he was still staring at me with this blank expressionless look on his face except now his entire body is turned towards me. I got really scared because he might think I've done something wrong at the store so I just ran away. A long while later, I realized that he might've been attracted to me. But why do guys just stare like a creep for miles and not do anything? what are they trying to accomplish?
Why do guys just stare?
Post Opinion