It depends: there are rewrites, and there are rewrites. Rewrites which improve a clear, on-topic question (which is not an XY question) are fine. Adding (or preserving) a reasonable level of context is good, too. Rewrites which delete all context, mutate the question into something it never was, and thereby invalidate answers, are not fine. If the rewrites actively contradict each other, that's even worse.
That question is one of the worst examples of rewrites mutating the original question beyond recognition. The original #1 edit essentially said "Student objected to my teaching methods and not my male colleagues, I feel this is sexist". OP's #5 edit changed this to "IF A STUDENT COMMITS A CLEAR SEXIST BEHAVIOR IN FRONT OF YOU...". Totally moves the premise. The OP's own version was not clearly anything, other than an annoying weak student raising bogus objections, by email. Hence, solutions would presumably address those behaviors, not the chain of assumptions about motive. To do otherwise is an XY problem. "commit" is loaded language. Then #9 says "I never said that it /was/ sexist; it occurred to me (based on previous interactions with this student etc) that this was probably sexism.". Again, changes the question, and more missing context. We're now up to revision #12 on the mutating question, and we have all sorts of topics being injected like racism. The question has become a wish object for people to inject whatever perceived type of bias they want to conjecture about or analogize to. No relation to the original question! It's an irredeemable mess. (I hope it's no longer on HNQ and attracting wildly offtopic answers from newbies).
I have to say that the OP's behavior in edits #6, #8 and #9 damage her credibility and don't invite us to take her conjecture at face value. So we end up with three different conflicting versions of a he-says-she-says, which might in any case be irrelevant to addressing the original question #1 that was asked.
v#1 of the question should have been quickly put on hold for being unclear; or certainly by edit #5 which deleted the facts, changed the context and invalidated all the answers. If either of those had been done, this situation wouldn't have arisen. It's now way too late to fix the question.; it should belatedly be put on hold. Blaming the answers is an irrelevant sidebar.