Rooted in local beliefs and folklore, the unusual ritual offers a fascinating glimpse into the town’s cultural connection with the demon king.