Parant is getting hide if hide child feature?

I am trying to hide the child feature in the tree but all respective parents also getting hide and the screen is empty, what would be the reason? Need help from friends.