Hi,
There are two separate issues here...
The Bios settings for UEFI or Legacy, and the way the USB Flash Drive was created..
The flash drive needs to be created in a manner suitable for the Bios selected, and they are not interchangeable..
My guess based on your info would be to select either the UEFI USB Hard Drive or the UEFI: SanDisk, Partition 1..
Is the SanDisk possibly the SSD you are trying to install Windows to ?
One of my machine's Bios identifies bootable flash drives as a USB HDD, or UEFI USB HDD..