Maybe some specific examples would help. Somebody came in to ask for advice about whether they should be more aggressive in some work situation. I thought about it and remember some advice that a colleague had applied effectively. The advice was widely praised. I said the same advice word-by-word, but after saying it, realized that this advice only works when said by a woman to another woman (the advice itself was something about being empowered as a woman). It sounded a bit awkward / patronizing when coming from me. This person then later complained to another person that I gave a sexist suggestion. Nothing happened of it, but it was really uncomfortable and had they spread it on social media in a bad light, that would have hurt my reputation.
In another case, a subordinate and I were already at slightly adversarial terms (a bit of loss in trust, but nothing too serious at that time). I could tell they were attentively looking to find what I was saying to be erroneous. I had to be particularly careful in those meetings, and had to constantly respond to accusations like "why did you agree with [male]'s idea when I had proposed the same idea a month ago and you rejected it" (when it was obviously a more complex situation and the context for the proposed idea were different). But had I been a bit more casual in our meetings, I am pretty sure she would have found something to complain about loudly.
Basically, "don't be a creep" is not enough and oversimplifies things. You can not be a creep, yet still get into a bad situation if someone else interprets you as a creep, especially in a situation where the relationship is not a strong trusted one. You often have to meet and advise people who don't know your intentions, and an awkward mis-step can be problematic. That's just the unfortunate reality.