Yup... well, its just exposure so there's no reason to be angry. It's better that the truth is out there.
Your H can be as embarassed as he likes. HE chose to send messages to old gf's and he has to own that. Do NOT APOLOGIZE for that... He's already cheated on the family once and he was starting again... He just got caught early... He has no case there and will have to own it and keep his anger/embarassment to himself... Did he even apologize to his son for that or did he just walk away angry?
The problem with your son is he likley wants specifics... The text message is a specific... "not working on the marriage" isn't... Try listing to your son the things he should be doing like you did in this post :
1. Reading 2, Homework
etc.. be as specific as you can so he gets it... many people work much better with specifics than abstractions and your son is likely just working with what he's comfortable.