Mine started doing this and the reason was an Android phone I had laying around with an app that scanned for airtags.
Basically it thought it was being used for stalking (close to an unknown device) and started beeping. Turning off the android phone stopped that.