... and in case you need to know how to implement WheelieNick's suggestions ...
IMPORTANT Because restarting Bluetooth can temporarily disconnect your wireless mouse and keyboard, ideally have a wired USB mouse or keyboard available.
- Open Terminal.
- Enter the following at the command prompt: sudo pkill bluetooth
- Press Return.
Your Mac will probably ask for your login password. When you type your password in Terminal, nothing will appear on the screen—not even dots or asterisks. That's normal. Type your password anyway and press Return. The Bluetooth service should restart. Your mouse may disconnect momentarily and then reconnect.
Then — Test the mouse. Use the mouse normally for several minutes.
If that doesn't fix it: try resetting the Bluetooth configuration. This is the more aggressive procedure. It can cause your Bluetooth devices to need to be paired again.
Like before doing this, make sure you have a wired input device available.
(Note: I don't have a Mac running macOS Ventura to verify the following steps.)
- Go to:Apple menu → System Settings → Bluetooth
- Turn Bluetooth Off.
- Delete the Bluetooth preference file
- Open Terminal again and enter: sudo rm /Library/Preferences/com.apple.Bluetooth.plist
- Press Return and enter your Mac login password if requested.
- Then enter: sudo pkill bluetoothd
- Press Return.
- Finally, restart the Mac.
The Bluetooth preference file will be recreated by macOS, and you'll potentially need to pair your mouse and other Bluetooth accessories again.