NameDrop, a new iOS 17 feature that lets you AirDrop contact information with other iPhones, is ON by default. If you don’t like the idea of accidentally triggering NameDrop with strangers: Settings > General > AirDrop > Toggle off Bringing Devices Together
https://www.theverge.com/23884415/ios-17-namedrop-how-to-iphone-apple