Unless you had a necropsy done on the chick, you will never know what sort of bacteria or virus it had internally. Obviously some bacteria or possibly a fungus spread from the eye internally, or perhaps this was a secondary symptom that showed itself as an eye infection. Sorry about your baby.