Lesson 1How USB enumeration works5 min
On connection the device reports its VID and PID. Windows searches its driver store for a match, loads the driver, and assigns an interface — MTP, ADB, or a COM port.
If no driver matches, you get 'Unknown device'. The phone is fine; the host simply does not speak its language.