The creator of Nearby Glasses made the app after reading 404 Media's coverage of how people are using Meta's Ray-Bans smartglasses to film people without their knowledge or consent. “I consider it to be a tiny part of resistance against surveillance tech.”
That is how Bluetooth works. Its open and scanning for your devices. And another devices nearby too. If you ever ride public transit you notice that random device try to auto pair with your phone.