This sounds super frustrating but z-wave ghosts can happen to any hub and can certainly cause all manner of problems until they’re successfully removed. Even that can be challenging for some stubborn ghosts.
This post has a lot of info about ghost busting, so might be helpful for your issue.
It’s possible your hub itself has a problem, but with those ghosts in the machine, there’s no way to further clarify that until they’re gone.