Why would a guy approach me to flirt with me but now he walks passed me and doesn’t speak at all?

Why would a guy approach me to flirt with me but now he walks passed me and doesn’t speak at all?
Post Opinion