The icon appears when the user has selected a board that is different from the board the port was identified as.
In the example of your screenshot, port "usb:0/140000/0/2" was identified as a "Teensy 4.1" board, but you have selected the "Teensy 3.2 / 3.1' board.
It would not be appropriate...