No where left to turn

I've been with my boyfriend for 2 years now and we've lived together by ourselves for about 7 months now. He is literally the love of my life and I don't know how I would ever start again if I didn't have him. Everything is in both our names and we've been through so much stuff with each of our families that we always had each other. I went through a period of depression where I didn't have the strength to do anything and he raised me up and helped me get through it. Now he's unhappy with himself and always tells me it's nothing I did but he's been sleeping on the couch and won't even sit in the same room as me and it's tearing me apart. I don't know what I'm supposed to do he wants to do it by himself and he says he doesn't want to hurt me but I just don't know what I'm supposed to do. Like is this the end or do I just continue to give him his space like I have been I'm so lost.