The Bluetooth Name, more specifically the 'local name' is something that can be optionally sent in the advertising. This is what's often shown in the user interface of apps.
KBA_BT_0201: Bluetooth advertising data basics
How Do I Change The Bluetooth Beacon Name?