Your cat should be examined to determine the cause. Possible causes include viral or bacterial infections, corneal ulcer, and foxtail or other material under the eyelid.