In the presence of massless chiral fermions, a θ term in can be rotated away by an appropriate chiral transformation of the fermion fields, because due to the chiral anomaly, this transformation induces a contribution to the fermion path integral measure proportional to the θ term Lagrangian.
ψL→eiαψL
DψLD¯ψL→DψLD¯ψLexp(iαgNf64π2∫F∧F)
So the transformation changes θ by CαgNf (g is the coupling constant, Nf the number of flavors).
The gluons have the same coupling to the right and left handed quarks, and a chiral rotation does not leave the mass matrix invariant. Thus the QCD θ term cannot be rotated away.
The SU(2)L fields however, are coupled to the left handed components of the fermions only, thus both the left and right handed components can be rotated with the same angle, rotating away the θ term without altering the mass matrix.
This post has been migrated from (A51.SE)