You know I once had a counselor say to me something about how we are schooled on every subject imaginable, Math, Science, Reading, Driving, Cooking, you name it, there is a required High School class for it but we are never taught how to properly deal with and manage our emotions. That really stuck with me because it so true.
We only send people or elect to go to counseling once we reach the verge of emotional break down. Its unfortunate more attention is not spent earlier in life on learning about our emotions, grief, coping in life, relationships, friendships. Even with all that I have been through I still don't always know the "right things to say" or always take the actions I should in everyday relationships.
Life is just plain hard and we want to protect our children from every hurt there is but the simple truth of that is we can't which is why we need to just be there and support them when bad things happen just as you have done and continue to do a great job of. Your son is learning a lot of lessons early in life and will be a stronger man for it someday.