(a) In o-nitrophenol the –OH and –NO2 groups are on neighbouring carbons. The O–H hydrogen forms a hydrogen bond with an oxygen of the –NO2 group in the same molecule (intramolecular H-bond, forming a six-membered ring). The O–H is then no longer available to bond with neighbouring molecules. The molecules in the solid are held only by weak forces, so it melts at 45 °C.
In the meta and para isomers the two groups are too far apart to bond to each other. Each O–H forms a hydrogen bond with a –NO2 or –OH of a neighbouring molecule (intermolecular H-bonding), linking the molecules into a network. More energy is needed to break up the crystal, so they melt much higher (97 °C and 114 °C). The difference is 114−45=69 °C, about 70 °C.

(b) Solubility in water depends on hydrogen bonds between the solute and water. The O–H of the para isomer is free, so it forms hydrogen bonds with water molecules. The O–H of the ortho isomer is already used up internally, so it bonds poorly with water. Solubility ratio =16/2.5=6.4, about six times.
The same internal H-bonding makes o-nitrophenol volatile in steam: its molecules are not associated and it has a relatively high vapour pressure. After phenol is nitrated with dilute HNO3, the mixture is steam distilled. o-Nitrophenol distils over with the steam, and the associated p-nitrophenol stays behind (NCERT).