This colleague had an impression on you before, and thought you were easy to get along with, so he wanted to talk to you and recognize your familiarity.
3. Maybe she is the kind of person who wants to make friends. He hopes that he can meet more people, have more contact and feel that he will talk to you.
Maybe you attracted him, or you were alone, so he wanted to amuse himself with you.