Legacy and marketing have as much to do with it as local variations in how bores are actually measured do.
All the .38s and 9mms of the world are just slight variations on .36" round ball, .44 caliber pistols are generally .429", there's a .45" pistol caliber labelled .460 (.454 also counts), .50 BMG is actually .510", calibers claimed to be "7.62mm" use either a .308" or .311" projectile depending on the country of origin and sometimes not even then (France and Switzerland call this size 7.5mm, Argentina called this 7.65mm, Japan called it 7.7mm, the British called it .303), "8mm" can be either a .318" or .323" projectile, .32s are all .312" diameter, but one cartridge that uses this same projectile labels it as .30 and another .327.
The same 5.7mm projectile (.224") is used in cartridges that claim to have a diameter of .220, .221, .222, .223, .224, .225, 5.6mm, 5.56mm, and 5.7mm.
.277" projectiles are used in cartridges that call themselves 6.8mm, .270, .277; same thing with .284" projectiles used in cartridges that call themselves 7mm and .280.