BRIGANTINE, N.J. — Red foxes can be found all over New Jersey, wandering out of the woods and poking through garbage at dusk in search of a meal. In many places, they might be overlooked, if not seen as a disease-carrying nuisance. But not in Brigantine, an island community where the fox has become an unofficial ambassador.

Many residents warmly share stories of their encounters, like the fox that would routinely come up to a back door or the time a children’s soccer game had to pause so one could cross the field. A fox makes an appearance on the cover of the city’s tourism guide, as much of an attraction as its golf course and pristine beaches. A real estate company regularly sends its mascot, Briggy the Fox, to community events.

Yet the island is also the seasonal home to piping plovers, a small bird that returns every year to dig its nests on the beach. The bird is an endangered species in New Jersey that state wildlife officials closely watch and fiercely protect, including from foxes, creating a bitter conflict that has caused an uproar as residents protest the trapping and killing of the animals.

Some are challenging the use of snare traps, a contraption that they describe as cruel and painful. The contretemps has also stirred a wider debate: Is it fair to kill one animal for the sake of protecting another?