An attempt at flirting, but a failed attempt.
Usually performed by those who cannot find the right words to say, can't break ice, or just aren't that attractive (physically or emotionally) to the point that their words lose good meaning.
Female A: Uh...
Male B: Dude stop flarting, you're embarrassing yourself.
Male A: Oh hello (attempts to grin, appears unsettling)
Female A: Oh.... Hi? (runs)
Male A: Wow, I should really stop flarting.