It sounds like failure to thrive, it prevents birds from processing calories and developing normally. Or even birth defect. Sorry for your loss.
Did you ever physically get him looked at by a vet? Did you have a necropsy performed to verify any diagnosis? Unless you did, it's impossible to say...