"I've got stuff going on at home"...

Responding in a helpful and empathetic way can make a significant difference in your team member's feelings and overall outlook on the situation. It can also help to prevent the person from feeling isolated or alone in their struggles, which is a position no one likes to be in. In knowing how best to respond, you can offer encouragement, provide helpful resources and ultimately, be a source of comfort to your peer.