Hi sir,
It sounds like the behavior you’re seeing is due to the way the PWM signal is being interpreted by the motor controller and the potentiometer’s output. Typically, when using a potentiometer to control a PWM signal, the voltage output from the potentiometer directly influences the duty cycle of the PWM, which in turn affects the motor speed.