Because the Canadian inventor of square socket head screws wouldn't sell the patent to Ford, so Robertson screws are only common in Canada, while as an American, Allen had better access to capital and a larger market, and Torx wasn't invented until recently.
Why aren't hex bolts square, or triangle, in shape?