Problem: you're trying to move a layer, but its mask is not moving with it.
Solution: watch this video :)
Dog image (affiliate): https://elements.envato.com/cute-dog-behind-the-kitchen-table-YQUCN9X