It's because of answers like this, answers that completely ignore the "why" aspect of the question and instead suggest a solution to an imagined or presumed problem that may or may not be relevant to the question at hand. For some reason, many users interpret any question as a "how" or "what" or "plz send teh codez" question, and answer accordingly.
Even worse is when the question asker has already stated that they have a solution to their problem, even going so far as to include the solution directly in their question, and that they are simply looking to understand the problematic behavior, yet these answers just parrot the same solution anyway. You really can't blame askers for over-emphasizing the word "why" in situations like these.
While it's nice to offer a solution to a presumed problem in case the asker is indeed looking for one, if they are not, then at worst the answer is not useful in the context of the question. Even if the problem described in the question turns out to be an XY problem, explaining why exactly it is such will make your answer immensely more useful (look at me, emphasizing the word). While a good answer is far-reaching, an even better answer is one that is also tailored to the specific question at hand, if applicable.
That being said, as the other answer mentions (because otherwise someone will downvote this answer for not offering a solution to the presumed problem), if the formatting bothers you, you're free to edit it out. Just make sure not to change the meaning of the question. Remember that "why" questions are usually on-topic provided they are clear, specific, and show adequate research and understanding of the subject matter.