Common causes for discharge are; 1  Sleeping. Sleep in your eyes usually isn't cause for alarm, but if you notice a difference in consistency, color and quantity of eye gunk, it could indicate an eye infection or disease.  Conjunctivitis.