Issue with action when duplicating a layer

I explain it in the video, but I believe some actions are not happening when you duplicate a layer

Screen Recording 2026-05-28 at 10.30.35.mov