When Itachi met Naruto before he went off to face Sasuke he placed the eye inside of a crow and put the crow inside Naruto. The plan was to have Naruto face Sasuke, who Itachi was certain would take his eyes after killing him, and then have the jutsu react.
It was programmed to react to...