Electron withdrawing group stabilises the benzene ring due to delocalisation of charge.
−CH3and−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 stabilize the phenoxide ion at p-position.