Users of these early firearms had to deal with soot clogging their barrels, and may have eventually discovered that if they cut curved grooves in the gunk while cleaning, it would impart a spin on the projectile, making it more accurate.
FORBES: No. 7 The Rifle