The story
From the federal procurement in the United States of the 1940s, as the yeoman would order a type of socks to be worn by everyone of a Navy vessel’s crew—which were then distributed beyond the United States Armed Forces.
Etymology from Wiktionary, CC BY-SA 4.0.