Spurred by this question asking about flagging answers that answered the wrong question as very low quality. The relevant parts of the question are
Let's say an OP asks:
Why does X produces this result?
An answer is
To make it work, change, etc...
The answer obviously misunderstood the question. The goal is not to correct the original behavior, but to understand it. But it is still an attempt to address the OP's issue.
An answerer posted this as part of their answer:
Also, the type of thing you note would not be appropriate for "Not an Answer", either. The key there being from the NAA text: "...an attempt to answer the question." That sort of thing is an attempt; bad, wrong, misguided though it may be.
Is an answer that answers the wrong question really an attempt to answer the question? Now clearly it is an attempt to answer a question but not the question. I know that may be nit-picking, but the answer feels like noise to me. If someone needs help getting their foo to bar they are probably more interested in the how than the why. If the how question exists, that answer probably belongs there. If it doesn't, then that someone will hopefully ask it. At that point we probably don't need the answer that is in search of the question.
So my ultimate question is: is that answer really an answer? And should it get flagged as not an answer?