When you touch an elf on the shelf, you're breaking the magic that allows it to be a spy. The elf will lose its magical properties and be unable to keep watch on children's behavior, which means the elf will no longer be able to report back to Santa.