No one knows! Some folks say it's because they were a snack or treat given to cowboys in the Old West for energy, sort of like trail mix in cookie form. Other people think they originated in Texas, which is considered the cowboy capital. I'm not sure which version of the story I prefer!