Women are hypergamous, wanting the highest-quality guy they can get. When a guy shows interest, he is implicitly communicating that he thinks HE is the best she can get. She will thus get very insulted if she disagrees.
Saturday Night Live (back when they were funny) had a skit on this: Sexual Harassment And You
Lol