What RPG are you talking about?If a Move has been engaged, are you allowed to contradict its preordained outcomes, yes or no?
My example of a failed Cook test was from Torchbearer. Torchbearer doesn't use "Moves". It is very close to Burning Wheel in its technical characteristics, and not especially close to Apocalypse World.
You set up a nonsense example - cooking sweets and being attacked by ninjas while baking - and then complain about nonsense and illogic. If you can't frame compelling situations, and choose compelling consequences, that's your problem and not mine.You are eliding the illogical part: that in the fiction the task failing might have nothing to do with the skill. It is illogical to draw odds of a thing happening from values that do not represent anything related to it. That the system "works" in a sense that it produces clear results doesn't change that. Again, the reason why I am less likely to successfully bake macarons than Gordon Ramsey, is not because being a less skilled cook makes me more prone to ninja attacks while baking.
Then why take account the character skill and the difficulty of the task when determining the odds?
In my game, the PCs were camping in the Troll Fens, having escaped a Troll Haunt (but becoming lost in the swamp in the process), killed some giant frogs, and then captured a marauding Dire Wolf and made a deal with it. In the course of this, they observed the Moathouse nearby, and they learned more about it from the Wolf (who had come from it).
They then decided that they would preserve some frog meat before breaking camp. A decision was made to try and preserve 4 rather than 2 portions (from memory) despite the greater risk of failure. The group's best Cook made the attempt, helped by the others. Now you seem to think that it makes no sense to have the best cook try and get the portions preserved before anything goes wrong or anyone hostile shows up. But I don't know why. If, in the circumstances I'd described, I could pull Gordon Ramsey out of my bag of tricks to preserve the frog for me, why wouldn't I? He would do a better job more efficiently.