Cogging torque is a physical phenomenon in permanent magnet electric motors. The air gap varies, depending on the position of the rotor, so that the magnetic resistance is formed more or less well. The consequence is torque fluctuations and jerky running, particularly at low speeds.
A detailed description of this effect can be found here:
Basics: What is the cogging torque?