Step-by-step explanation:
HCl dissolves in H2O because polar molecules dissolve each other.
Oil and hexane are nonpolar(non-electrolytes) that dissolve with other nonpolar molecules.
Water itself is a bent geometry molecule that hydrogen bonds with the hydrogen in HCl.