Not sure why this would be surprising. Humans are social creatures; most of us need to be around others enough of the time to feel a sense of social connection. It seems utterly unsurprising to me that too much isolation at home would increase depression and lonliness.