I'm sorry to his family and his friends. I did see one of his videos on his YouTube channel titled "Confessions" - at 1:55 in the video he states that a number of people over the years have asked him if he is autistic, has Asperger's or is on the spectrum. He then states "that would suck" and it looks like it pained him very much to consider that.
I believe that while he was able to survive in an educational setting by being sort of isolated and indulging in his special interests, as school was ending he realized he was going to have to finish that and be out in the world, where he would be expected to work and interact with people on a level he couldn't deal with. I also think he was afraid he would fail at this and decided on doing this.