Most common=viral. Most common childhood eye infections are conjunctivitis, either viral, bacterial, or allergic. Other possibilities include: vaginal canal infection transmitted to baby during birth, bacterial infections from blocked tear ducts, eye herpes, fungal keratitis of the cornea, and parasitic infections of the eye. There are others that are far more rare. If the baby has non clear eye discharge, see PCP.
Causes of pink eye. Bacterial infections, viral infections, allergies, and irritation or injury can all cause "pink eye" or conjunctivitis. Bacterial conjunctivitis causes eye redness, thick yellow or green eye drainage, swollen lids, and eye can be matting. This is the only type of eye infection which responds to antibiotic drops. See your baby's doctor to determine which treatment is best.