I have noticed that most people who work in IT are not very social. Moreover, their moral and self-esteem is also low. I start to question my abilities, the moment i can't solve a problem in software or i am not able to fix a bug. Even the evaluation criteria does not tolerate even a single mistake made by the person concerned. Bosses are keen to point a fingure at you the moment they find a flaw in the software you write. How is it possible for a person who works in IT to continue to feel motivated?
You are right that some people are drawn to computers because they are not so social and find it easier to work with computers than with people. But certainly not all people in the IT area are like this.
Regarding bugs and mistakes, all software developers make bugs. Any competent boss knows this, and arranges for testing. Usually you first test yourself, then other people are assigned to test what you have done. A boss who just points a finger at you whenever anything is not right is not a good boss. But unfortunately, there are bad bosses in the IT business as in most other areas of life.