If the phone was vibrating earlier when plugged in, and all of a sudden as of recent it’s not vibrating currently, I doubt system haptics would be _disabled_, [Unless] it was inadvertent.
If you have not, powerdown the iPhone and then power back on. It may or may not resolve the issue. Also, ensure you are using a MFI charging cable and charging brick.