It's not just iPhones, it's any wireless device that is actively scanning for a previously associated access point.
These days iPhones will change the MAC address while doing wifi scans to a random one so you can't track individual iPhones anymore.
These days iPhones will change the MAC address while doing wifi scans to a random one so you can't track individual iPhones anymore.