"torque" is transmitted from the driven "holes or indents" through the head down to the shaft-head interface.
A Phillips head indent, flat head notch is probably the worst/least consistent driver method.
Torx-head stars or hex key hole probably the best after a six-sided hex head top. (Impossible with a pan head obviously). The typical Phillips head interface (a manual screwdriver operated by a ???? qualified and trained person) is not likely to set ANY real-world consistant torque values: going from "Ooops I sheared the head" to "Ooops, I sheared the Phillips" to "Ooops, I didn't even tighten it."
Machine-automated assembly helps the initial assembly to provide some degree of standardization.
Nbr 2 thread is very, very tiny dia. Easy to foul up.