GUYS: If a guy is smiling and looking down whilst you walk past him, what does this mean?

I was walking right past this guy, he was looking down and also smiling. Why would a guy do this?