If some components are set "BOM structure" -> "Reference" you can't see them in the component tree in an assembly. I think there should be something marks or different font color or etc assembly tree to see reference parts or assemblies have been set "reference".