Given the gauge fields $B$ (generator Y) for weak hypercharge and $W_3$ (generator $I_3$) for isospin, we combine the generators as $$Q=I_3+Y/2\tag{1}$$ to represent electric charge. Why does this not imply that we must also combine the fields as $$A=W_3+B/2\tag{2}$$ to produce the electromagnetic field?
Instead, the Weinberg angle enters in the mixing of the fields. How can this be compatible with $(1)$ At the same time, the coupling constants are also related by the Weinberg angle. Is this the trick to compensate for the incompatibility?