A torx drive increases the amount of surface area spot so that it is easier to convert the screw, and the slippage is decreased.
Some even have “wings” that widen the opening so the thread would not capture on it. https://janicexhii956478.blogdigy.com/the-single-best-strategy-to-use-for-types-of-screw-heads-44136372