Why would a guy ignore me when I say hello to him, and then smile while passing near me?

Why would a guy ignore me when I say hello to him, and then smile while passing near me?
Post Opinion