There's not enough information here for us to know what's going on. Is the baby being fed properly and growing at a normal rate? Is it pooping normally, without a strong odor? Does the crop look normal? Is the baby staying warm enough? Are the other chicks in the clutch growing up to be healthy? If it happens again, you could get a necropsy to try and find out what the problem is.