It makes the rest of us cringe. But experts say there’s psychology, strategy and social survival behind this flirty behaviour that goes beyond the drama we see on TV.