Because the branches on the treetops have roots, they are close to the mountains and have relatives. It is a metaphor to use the word "tree" to describe the poet's flesh-and-blood relationship with Yan 'an and his fellow villagers. It emphasizes not the roots, but where people come from.