Thank you for your answer!
What was troubling him about the relationship was that it was long distance. Non of us have the possibilty to move right now but the plan was for him to move here in one year. He said being in a long distance relationship was really hard as it made him feel even more depressed as we couldn’t see each other as much as we hoped. This is worrying to me as when (if) he gets better, we will still be in that same situation. However I think the are a lot of things that I could have handled differently to make things easier on him, but I realise we might not get a chance to try to do things differently as he might not comr back to me.
Ultimately I just want him to get better, but the selfish side of me also wants him to want me back.