This difference in polarity causes them to have little to no attraction to each other, resulting in their immiscibility.
Polarity is a measure of the uneven distribution of electrical charge within a molecule. A polar molecule has a positive end and a negative end, while a nonpolar molecule has a uniform distribution of electrical charge.
Cyclohexane is a nonpolar molecule because the carbon atoms in the ring share electrons equally. There is no significant difference in electronegativity between carbon and hydrogen atoms, so the molecule has no permanent dipole moment.
Water is a polar molecule because the oxygen atom is more electronegative than the hydrogen atoms. This difference in electronegativity creates a permanent dipole moment, with the oxygen atom having a partial negative charge and the hydrogen atoms having a partial positive charge.
The polar water molecules are attracted to each other through hydrogen bonding, while the nonpolar cyclohexane molecules are not attracted to water or to each other. This results in the formation of two distinct layers, with the water on the bottom and the cyclohexane on top.