I noticed that if I disable the vibration from the quick menu that appears when using the volume buttons and then re-enable it, the vibration starts working again. Unfortunately, this procedure doesn’t solve the problem permanently, as it will reoccur later. I need to figure out if it’s the “Do Not Disturb” function that’s triggering the issue.