Why would a woman I was interested in be pissed off at me for this?

So a few years ago I was interested in this woman. She was a bit younger than me.. I pursued her. And she rejected me. So I did as I should. I disappeared.

Later, about a month ago we run into each other. Got to talking, and she asked why I stopped chasing when she rejected me. Why I didn't try harder. I responded simply "you said no. I didn't want to end up in prison for sexual harassment worse so I just moved on". She said I was an asshole and sexist for that.

Sorry in a post #metoo world I'm just not interested in risking prison by chasing once rejected.
Why would a woman I was interested in be pissed off at me for this?
Post Opinion