It's not that easy when you are clinically depressed. Sometimes you need something to cure the physical and biological aspects of depression before you can even consider having the mindset you need to "get a life and friend group".
The technical questions given during an interview are not only used to see if you are competent programmer, but they are also use to see how well you communicate and how well you work in a team.