When my son was acting out, I took him to a child counselor once a week for about six months. It helped him handle his anger and moods...(he was 6-7 at the time)
Now things are better, and his down moments are not as low. He does feel some bad feelings when his dad lets his anger out on him (my ex is a very unhappy and bitter person). My own counselor told me that although I cannot prevent my ex from acting like a jerk, I can focus on what I CAN control. And that is, doing my best to be positive and upbeat around my kids as much as possible. To build in traditions and moments that my kids will remember with joy. Nothing too expensive, we have Milkshake Mondays where I make shakes, Tuesday is Game Night, we play a board game, Thursday is pillow fight night and Friday is movie night. Simple things my son and daughter look forward to and times when we can laugh together.
Try to find a few ways to laugh with your son. It really will help you both.