Distancing boyfriend

So my boyfriend has gone through some problems lately with his family and started to distance me out and doesn’t feel like talking to anyone

I just wanted to know if there is anything i could say or do to help cheer him up or at least forget his problems while we talk