Why "rolling"? Is this a reference to baking or what's the origin?

reference to cigarettes