I was somewhat like this when I was a kid and it all stemmed from low self-esteem. I had always set stupidly high standards for myself, thus getting frustrated when I inevitably failed to reach them, and as a result of being bullied by a cousin I had a pathological fear of being laughed at, so hated getting things 'wrong' or not being able to do things first time because IME that caused people to laugh at you. It was incredibly limiting - tis the reason I can't ride a bike (tried to teach myself aged around 6, fell off 3 times, had a paddy, threw bike on the floor and would not be persuaded to try again) - and in fact still is. I still struggle with not being perfect first time, which is stupid as who is? Fear of failure stops me from trying all sorts of things I really want to do.
Anyway, just wanted to put my experience and suggest that maybe his frustration is with himself, and that it might be worth exploring this with him. Obviously you know your child best and this might totally not apply to him...good luck anyway, I think it's great that you are trying to address this issue with him