Children at 13 are often very protective of their parents and don't want to worry them about things like bullying. So he may be hiding something. Having lots of friends doesn't mean he can't be being bullied. Indeed bullies sometimes target such children because they are jealous.
I think you need to find out if there is a specific part of the school day he can't manage, and if there is contact the school and arrange ways to help him through the difficult time.
Go back to the school and ask that he be given work to do if he stays at home (It's easy enough to e-mail stuff to him on his non-attendance days)
The miracle to me is that any child manages to get through the nightmare of secondary education.
A better word than 'apologise'?


