Nema 17 stepper external wiring
That's a wire harness standard product.
Cables are crimped and cut by machines and then are manually inserted in the plastic housings by workers.
That's the standard workflow which has the minimum cost for customers.
If you need a twisted wire harness than you need to pay more.

By the way, a twisted cable will reduce EMI radiations especially for stepper motors currents.