Scientists at the University of Oslo found that childhood depression and anxiety are linked to two genetic paths: one through children's own genes and another through their parents' genes.