They sit outside the surface area of the material. This suggests there's no require to produce an angle for the screw head alone.
The hex socket was invented in 1936 and was specified a patent via the German enterprise https://rorytquz060451.livebloggs.com/35802687/what-does-types-of-screw-heads-mean