By default, when sharing files, the LG device searches for other nearby devices. When the feature is enabled, the file sharing (Share via) dialog box displays an overview of the devices found. You can also disable the search in the settings.

Android 9 | LG UX 9.0
Nearby device scanning -  Open the  Settings
Nearby device scanning -  Tap on  Sharing panel
Nearby device scanning -  Enable or Disable  Nearby devices
  1. Open the Settings
  2. Tap on Sharing panel
  3. Enable or Disable Nearby devices

LG Instructions