When I troubleshot things like this, I like to open a fresh new Blender file and see if the weird behavior is persisting, if not, then it’s local to the file the problem first arose. If it sticks around, then I know is a deeper problem. In your case you might have the eraser tool select by default?
