Too Cute
It could be challenging to think of the ideal pickup line. You need something direct and witty. Even though this person meant well, they were unable to deliver the punch line before the other person responded in an unanticipated way.
It’s likely that this was a blessing in disguise. If nothing else, at least they are identifying their warning signs early on rather than later.