The reason this is happening, is because you are using a nested graph. Nested graphs unline local bound graphs, because they are asset files, they can’t have references to scene objects. (thats a common Unity “limitation” kind of).
The way to work with scene object references in nested graphs would be using Blackboard Variables, instead of direct assignments. Since Blackboard is a component that lives in the scene on the GraphOwner’s gameobject, it CAN have scene object references.
The reason you see the other types (Animation, Animator etc) in the Script Control tasks, is that because the object reference is lost, it instead shows other general Component types since there is not a reference to pick Components from.