The first cause is physical damage or maybe the quality of your water is very poor. Nutritional deficiencies and bacterial infection are two more main causes for cloudy eye.
Cloudy eye is usually caused by a secondary infection. You can treat it with epsom salts. 1 table spoon per 10 gallons of tank water. Also try a total water and filter change.