You're correct! In theory, flipping the cable 180 degrees shouldn't make any difference. But in practice, especially with cheaper or third-party cables, devices, or even ports that are out of spec, you can run into odd behavior like this. One great reason never to use cheap cables!
Some USB-C connectors aren't wired or soldered perfectly symmetrical, and the internal switch in the USB-C controller (called the CC logic, which negotiates orientation and power delivery) might behave inconsistently. I've also seen this happen when one orientation makes better contact with the internal pins due to slight manufacturing imperfections or wear. Flipping the cable can sometimes "wake up" a device or get it to behave normally again, especially with charging or data negotiation issues.