Roxie, a 3-month-old panda, had just lost her mother, Ginger, five days earlier. Although the zookeepers at the Edinburgh Zoo were initially worried that she might not pull through, they became optimistic when she began to eat independently.

That optimism quickly turned to despair, after camera footage showed Roxie becoming agitated during a continual din of fireworks as the city celebrated its annual Bonfire Night.

“Roxie was very frightened by the fireworks,” Ben Supple, the deputy CEO of the Royal Zoological Society of Scotland, which runs the zoo, said Thursday night.

Roxie became ill, choked on her vomit, and died on Nov. 5. “It’s very sad to have lost Roxie at such a particularly young age,” Supple said. “Roxie would have been a wonderful ambassador for red pandas.”

The zoological society is now calling for greater restrictions on the extensive fireworks displays that are a trademark of Bonfire Night, also known as Guy Fawkes Night, the Nov. 5 celebration named after a participant in a failed plot in 1605 to kill King James I.

More than 1 million have signed a public petition seeking tighter controls on fireworks displays. The petition was delivered to the British government last week.

Ginger, who was 9 years old, died suddenly on Oct. 31, with celebratory fireworks already underway. “We can’t rule out that fireworks contributed to the death of Ginger,” Supple said.

Red pandas can live over 20 years, and up until two weeks ago, the Edinburgh Zoo had five of them. Roxie’s father, Bruce, is one of the three remaining.

Red pandas are native to the eastern Himalayas and southwestern China. But habitat loss and poaching have made them an endangered species. They are about the size of a domesticated cat, and they are not closely related to giant pandas, but are related to skunks, raccoons and weasels.

At the Edinburgh Zoo, Roxie had extra-deep bedding, made of hay, in her den. “Ideally, she would have snuggled up there to stay nice and safe and warm,” Supple said. But the frightening noises from outside her cozy den seem to have been too much for her, he said.

Noise from fireworks can reach levels as high as 160 decibels or more. That’s louder than a jet plane taking off from 100 yards away or a jackhammer.

“Red pandas can most likely hear sound at a very low frequency, which is why fireworks at any range could disturb them,” Supple said.