You would flirt because you want to show that your interested in knowing the other person.