The sockets used to be imperial as well until nuts and bolts were more widely standardised and began being manufactured in metric. This is why you get metric sockets and imperial rachets, because the sockets had to adapt to the changing nuts and bolts sizes whereas the rachets had no reason to. The new metric sockets were just made to fit on the already-widely-used imperial rachets, so there was no bother to change them to metric as well I guess. I've been an engineer for just over a year now and I've only just come across imperial bolts that I had to get a 9/16's spanner on!