behave yourself, man
You'd never hear a bloke say that.
You wouldn't hear a women say that to a bloke.
It's a statement with a very loaded "woman" at the end. It's the way it's said, the context and the implied meaning.
Why the word "woman" at the end? Why even use it?
It's the same as "Calm down, dear". "Calm down" is ok. Possibly. But "calm down, dear" is a put down and know your place.