Does connecting an Android device via USB to a PC pose a risk if the load is selected?

If an Android device has something malicious, it can also target / affect PCs. And this device is connected to a PC via USB, by default, it automatically chooses to start charging.

enter the description of the image here

Is there a risk that something will be transferred to the PC? As in, is it possible for a split second, before choosing the parameter "Charge", to allow the transfer of data to the computer?

At work, we are warned not to connect USB devices to our computers, but a colleague told me that they were charging their phone (Google Pixel – Android 9 Pie) via USB and that the load was chosen by default. Although it sounds totally logical, you did not know if it was absolutely true?