We know that pencil appears to be bent at the interface of air and water because of refraction of light. The degree of refraction depends on refractive index of a given liquid. Refractive indices of kerosene, water and other liquids would be different. Hence, degree of bend would be different in case of different liquids.