The correct title is Hairspray (not "hairspary"). The name references the popular 1960s hair-styling product—aerosol hairspray—which is central to the story's setting, themes, and aesthetic.
The 1988 John Waters film, 2002 Broadway musical, and 2007 movie musical all use the title to evoke:
Hairspray isn't just a prop—it's a metaphor for the era's pressure to conform, and the characters who refuse to stay stuck.