Folklore says cooks tossed fried batter to barking dogs to quiet them, which gave the fritters their name.
Cute story, unproven.