There’s typically Lots of vibration on windows, put your hand on the window and you can feel it if A heavy truck goes by. Or even just a couple of kids running through the room. And if you have a window with a sill, a bird landing on the sill can vibrate the window. That only applies to the glass, though. If the sensor is sitting on the wood frame, it should be fine.
Manufacturers usually advise that you put the sensor either on the wooden frame around the window or on the wall with the magnet part on the glass.
In your case, though, the pair of reports is happening so quickly that it does look more like either a battery issue or a defective device issue.