It sounds like it could either be a vitamin deficiency through poor diet, some kind of parasite or it may have just knocked it causing physical damage.
Cloudy eye is a symtom of a desease need to no size of tank in gallon or litres, plus how many fish and which type, and full water stats in ammonia,nitrite,nitrate,and ph.