Resonance effect is the withdrawn or releasing effect of electrons from a particular substituent through the delocalization of charge.
The resonance effect takes place in a conjugated double bond system.
Phenol after losing called as phenoxide ion is stabilized by resonance while after losing from ethanol called as ethoxide does not stabilize by resonance effect.
Phenoxide ion is stabilized more by benzene ring than in ethanol where the alkyl group is present.
Resonating structure of phenol is shown as:
Therefore, due to the resonance effect phenol is more acidic than ethanol.