I believe it is a vitamin deficiency. When going through molts they lose a lot of body mass and vitamins as it all goes into their feathers. My girl had a similar issue when she was molting, but I put some electrolytes in the flocks water and after a bit she got better.