If he was with friends, it could have been a dare, and he stuck around when he saw you were willing to engage him in conversation.
If he was with friends, it could have been a dare, and he stuck around when he saw you were willing to engage him in conversation.