Viscosity in liquids is due to

Repulsive force between molecules

Gravitational force

Frictional force between molecules

Intermolecular force