kevlar49... to expand on what Tbuelna just stated...
UNJC [coarse threads, -1A or -2A quality, external] are relatively uncommon for Aerospace 'spec hardware'. In that case, good machining techniques and non-aero applications [or lightly loaded aero applications] may be fully acceptable. When application demands quality, such as -3A [highest quality, external], then I would expect nothing less than roll-forming.
However, high quality UNJF [fine threads, -2A, -3A quality, external] are virtually impossible to attain without being roll-formed. For this reason, and the obvious grain-flow benefits derived from cold-rlling, for fatigue life/strength improvements, etc, virtually all aero applications for UNJF threads are specified as critical and shall be roll-formed [whay pay so much for poorer performing cut threads?].
NOTE. All UNJF internal threads [-2B and -3B, internal] will be cut threads in forged parts such as for high quality/durability/re-usable high strength NUTS. UNJC-*B threads [internal] will be cut in all forms of material... forgings, castings, wrought-stock [MF from bar/wire, sheet or plate, etc) only when UNJC quality is required [otherwise UNC would be "good enough"].
Regards, Wil Taylor
Trust Me! I'm an engineer!
Trust - But Verify!
We believe to be true what we prefer to be true.
For those who believe, no proof is required; for those who cannot believe, no proof is possible.
Unfortunately, in science what You 'believe' is irrelevant – "Orion"