That’s an old issue that some systems do have. I tried the workaround shown in arch wiki, and it did not work for me.
I found a solution through systemd. I created this service in /etc/systemd/system:
Description=Script upon suspend/resume
ExecStart=modprobe -r xhci_pci xhci_hcd
ExecStop=-modprobe xhci_pci xhci_hcd