Noy or another expert on aviation law can improve this answer, but the standard practice is for the pilot giving instruction to log the landings even if they do not manipulate the controls. There is a distinction between manipulating controls and acting as PIC for the flight. They are PIC for the flight as the instructor, even if they do not manipulate the controls. For the FAR 90 day currency requirement, manipulating controls must take place.