Then they should be labeled appropriately, and preferably use different form factors. There's no excuse from having identical-looking ports that do different things.
USB used to be simple, and they worked so hard to make it so that whatever plug could be plugged into whatever compatible socket.
Then we had USB on-the-go, and issues with then a micro-A port isn't just a micro-A port.
And now we have USB-C and Thunderbolt. Ugh.
No, seriously, that sort of thinking is baked into Apple's DNA. Jobs once tried to intervene in memory bus layout on aesthetic grounds.
https://www.folklore.org/StoryView.py?project=Macintosh&stor...
"But look at the memory chips. That's ugly. The lines are too close together."
This ideology has damaged things that used to work fine like the keyboard arrow keys just for the hope of symmetry as visual harmony.