Poor dear!
I honestly have no clue, unless its somthing like a crop infection. I had a cockatiel years ago that had symptoms similar and thats what it ended up being.
I know we have a couple vets/vet techs about, maybe they can be alittle more insightful :/.
Fingers crossed for you and him/her.