The minimum specs for a USB-C spec-compliant cable are USB 2.0 data speed, and 60W power delivery capacity.
Electronic marking is optional for the base power level and required for the (now deprecated) 100W high power cables, and latest 240W EPR cables.
The majority of cables on the market fit that basic spec, and are fine for most users, since they're primarily used for charging, not data transfer.
Apple's standard USB-C cables are described as "Charge" cables, strongly implying that while suitable for syncing, they're not intended for frequent high speed data transfer duty. Apple would rather sell you a Thunderbolt cable instead.
It's easy to tell if a cable is suitable for USB 3 speeds; there are fewer choices, and the price is higher. Even more so for USB 4 or Thunderbolt cables.