Aha – ‘ Traditional crafts’ – I should have expected as much..
Guns, and everything else, were manufactured along non-standardised traditional craft lines until lateish 1800s. It was the Springfield Armory during the US Civil War 1860-65 who pioneered standardised mass production, so gun parts were interchangeable in the field. The practice rapidly spread to other industries and jumped the Atlantic to the heart of the Industrial Revolution in the UK.
Despite good old Joe Whitworth inventing the first national thread standard 20 years earlier, it hadn’t yet caught on to a widespread degree. The US civil war also brought the w idespread introduction of breech loading repeating rifles, so many old percussion cap muzzle loaders are quite likely to have been made in the “traditional craft” era with who-knows-what threads used at the whim of the maker.
Then there were manufacturers who deliberately used non-standard threads so as to monopolise spare parts supply.