You seem to be under the impression that people answering questions on SO are subject matter experts.
Obviously not the ones making the “why are you $X” comments in this case though.
Obviously it's possible for non-experts to post authoritative-sounding answers on questions that they don't really understand, but I think that is a different category of problem from the "XY-problem" style answers.