I think it's a niacin deficiency, ducks tend to have that a lot especially ducklings. Look up "niacin duck 50 ducks in a tub" on YouTube, he has several videos on how he saved some of his ducklings like this. But some were unable to be helped. I suggest messaging him he's very knowledgeable on ducks