I'm using Ventura 13.4.1 on my iMac, with an HP 2-button mouse with a scroll wheel. Not only has the scroll wheel stopped working, I just noticed the right and left-click buttons are ineffective as well.
It's a pretty new mouse, so I'm doubtful it's failed, but think it's a software glitch...