People are afraid to flirt at the office to gauge mutual attraction because if it lands flat, there's a perception that HR could be involved. I'm certain that most rebuffed flirting doesn't involve HR when the person takes the hint. Still, nobody is too sure nowadays, especially since we've been generally taught to believe the person who complains.