Maybe you should collaborate with someone instead of insisting that you must be left alone without interruptions to succeed. Or maybe you (aren't garbage but) need more practice.
Sometimes complex problems just require focused thought. Distractions detract focused thought. It's still possible to work through most problems when heavily distracted, but why the argument here? Legitimately, it baffles me. I do think devs over hype the importance of software development (generally speaking), but if an individual needs focus to solve a problem, be it math, software, economics, whatever - why would we argue that they don't actually need to be that focused?