Keratitis happens from viral or bacterial infections. It can also come from eye injuries or bad contact lens care. Exposure to dirty water is another cause.