Why do girls like men who are mean to them?

I am just wondering why
My neighbor likes me and I treat her mean, I don’t mean like I hit her but I play around with her like when she says “i’m ugly” and I say “yea you are” then laugh you know playing around.
I noticed alot when boys act all nice to girls like when the girl says they are ugly the boy says " no your not".
So why do girls like boys like that?
I am just really curious.:ear:
Do girls like cocky and funny men because they feel comfortable around them?
[whisper] man I start wierd threads[/whisper]