Longitudinal study is better, but still, the causation likely goes both ways. Decreased sleep, worse diet, and more screentime are all things that happen due to getting increasingly depressed. They also drive depression (at least decreased sleep and worse diet do, and screentime likely does to the extent it is a proxy for lack of sunlight and human interaction).