The story
Many complimentary tickets had holes punched in them to prevent recipients from reselling them; in this way, they resembled the playing cards that sharpshooter Annie Oakley shot holes in as part of her act, and so were named after her.
Etymology from Wiktionary, CC BY-SA 4.0.