Electron withdrawing group stabilises the benzene ring due to delocalisation of charge. −CH3 and −CH2OH are electron donating group and hence decrease the stability of benzene ring −OCH3 is weaker electron withdrawing group than −COCH3. Hence COCH3 group more stabilizes the phenoxide ion at p− position.