The connection remained even after controlling for whether kids had symptoms of anxiety or depression, lived in high-conflict homes, or had close relatives with depression, all of which are risk factors for thoughts of suicide, said Josh Gowin, an assistant professor of radiology at the University of Colorado School of Medicine and one of the authors.