When you encounter an editor for the first time, you (author) do not know what to expect. You let an editor get away with messing up your work because you want to be published. You know perfectly well that the story you wrote was better before the editor got his hands on it, but because you are afraid of not being published, you grin and bear it. No, it’s not you, it’s me. Sorry.
Then you will come across a fantastic editor who has ideas that can actually improve your work. There are some of these out there. At the very least, they will ask questions like, “Does the protagonist really have to be an Air Force reservist?” Hell, yeah!
At best, they will say, “Why does MacAndrew give the time-travellers his watch?” That was a brilliant question, as I instantly recognized, and my rewrite made the story publishable.
And then you may be unfortunate enough to encounter the editor who wishes he had written the story himself and proceeds to attempt to do so, line by line. By this time, we hope you have found enough spine to be able to say, “My name at the top; my words underneath. Write your own story.” Of course, you lose the sale. It depends on you whether you think it was worth it.