I'm not even sure the gamification or point/karma scoring of the question and answer space is responsible. The same behavior was evident in comp.lang.perl.misc back in the late 90s. People would ask "bad questions", and people with barely more experience/knowledge than the questioner would happily provide answers/solutions. I'm guessing this is at least partly showing off "Hey look! I worked out how to do that last week!" And often they'd provide lousy or even dangerous advice, and the "old hands" would be left to try and explain why (for example) copy n pasting from Matt's Script Archive was such a bad idea.
There's probably an endless supply of new-but-inexperienced coders who're happy to show off their new-found skills by offering advice to the even less experienced. I'm less sure there's an endless supply of "old hands" to keep an eye on them.
And I've seen this in areas other than programming too. It's _really_ common for motorcyclists with a year or two of riding experience to be offering all sort of advice to newer riders - advice which riders with 10 or more years of experience will sometimes just roll their eyes at, and sometimes will step in and say "that's not just wrong, but dangerous enough to get you killed if you're not careful".
(and yeah, I've been on both the "barely experience" and "decades of war stories" side of the advice giving in both coding and motorcycling…)