When I was smol I had problems with both going to sleep and shutting off my mind. I've been lying in the bed and my brain was running like an engine you can't stop: memories, imagination, phantasies, more memories and so on. Even though all of it was neutral, nothing bad at all, it was tiresome and unpleasant. Depressed thoughts started much later, after I finished uni and went to job