Looks like you used the adaptive profile (which creates invisible masks), or a landscape mask. If you remove an object from an area covered by an AI generated mask, then there will be a ‘gap’ in this mask where the object used to be. As a result, the edits that were done in the mask will not be applied to that gap, and so you’ll see a ‘ghost’ where the object used to be. Updating the AI edits will solve this, because it will regenerate the mask.
-- Johan W. Elzenga