I am going to guess that the ducks are being fed chicken food.
And that is almost okay. But ducks, especially some ducks, need three times the niacin in chick food, or they have serious nervous system trouble, like you are seeing.
Put 100 to 150 mg of niacin (not the timed release or no...