Noise is not a problem of hearing alone
Fireworks and cannon shots are physically very similar sounds that cannot be distinguished by measuring technology. Nevertheless, the first belongs to the acoustic and optical enjoyment for spectators of the fireworks, the second to disturbing noise for residents of shooting ranges.
Noise is a complex phenomenon, of course with an important physical or acoustic component. But noise also includes the perception, attitude and life situation of those affected.