Why does this happen and how to stop this? "Defined in a context of other assy"

I always worked with this set of parts in this assembly, except the tan-colored gear part, which was designed based on the ISO standard part gear.

How can I make an inersection curve from the tan part to offset a diameter. I am working on the green part.

Thank you.

SolidworksAssemblies