Ionic compounds are soluble in water but insoluble in kerosene because:
Water is polar and kerosene is non polar.
Water is a polar covalent compound. It decreases the electrostatic forces of attraction, resulting in free ions in aqueous solution. Hence, ionic compounds dissolve in water. Kerosene is a non-polar organic solvent and dissolves non-polar covalent compounds.