The origins of the shoey are murky. There are patchy oral histories of it occurring in Australia up to 20 years ago as an act of triumph and camaraderie, at parties or after sporting wins.

The founders of the Mad Hueys, an Australian fishing and outdoors brand, claim to have done shoeys at parties beginning in the late 1990s, and appear drinking from a sneaker in a surfing video in 2006.

Ms. Musgraves “probably didn’t want to do one, but when she’s got the crowd screaming at her to do a shoey, she’s got to do it,” said Shaun Harrington, 33, one of the Mad Hueys founders.

He paused. “You don’t have to do it, but it’s in your best interests,” he said.

One place where the ritual took hold was in Tasmanian punk circles just over a decade ago.

“It just became a thing we started doing,” said Tyler Richardson, the frontman of the Tasmanian punk band Luca Brasi. Mr. Richardson, now 31, started doing shoeys onstage around 2010 after seeing a friend do it in a pub a few years earlier.

“It seemed funny; we often got free drinks out of it,” he said. “Everyone wanted to fill up your shoe with beer.”