Glycol contains two hydroxyl groups which are able to form intermolecular hydrogen bonding made it much stronger. Hydrogen bond can be formed at both OH groups resulting in a polymeric structure.
This leads to high viscosity in glycol whereas in ethanol there is no strong intermolecular hydrogen bonding and it is less viscous.