The new ordinance was put in place to protect of endangered and at-risk wildlife. That includes the piping plovers you see scurrying around on those beaches. Dogs just love to chase those little things.
These little buggers are trouble right from the start. Before they morph into the moth, they're caterpillars with barbed hairs that can cause severe dermatitis in people, as well as also causing respiratory problems for sensitive people.