Ammonia has hydrogen-bonding intermolecular forces, whereas phosphine has dipole-dipole and/or dispersion intermolecular forces. Water also has hydrogen-bonding intermolecular attractive forces. Ammonia is more soluble in water than phosphine because ammonia molecules can hydrogen-bond with water molecules, whereas phosphine molecules cannot hydrogen-bond with water molecules.
*When thinking about SOLUBILITY, think about types of forces (likes dissolve likes). For water, H-bonding is most important, so if a compound has H-bonding then it is more soluble than if a substance has dipole forces.