Either there is a software that is causing the issue or the vibration motor has some fault. Restart the device in safe mode, you can do that by pressing the power button, then tap and hold the restart option. See if the motor works by going to settings.