This can be anything from temporary reaction to an event in his life or repeated episodes of feeling depressed.
Try to be sympathetic and explore how he is feeling and his thoughts.
Your aim should be to encourage and get him to see a specialist, a psychiatrist perhaps to rule out severe and physical causes.
Next Steps
Ensure he is maintaining self hygiene
Good food routine
Health Tips
Keep checking on him as much as possible in a sensitive manner