Definitely could be a ground issue as @Big_John stated.
In my case, the limit switch inside the motor stopped working which lead to the plastic gear getting stripped because the motor kept trying to close the doors after they were closed, which sounded like knocking inside the motor.
If you...