Given an angle $\theta$, the formulas for $\sin(\frac{\theta}{2})$ and $\cos(\frac{\theta}{2})$ are either positive or negative, which is why $\pm$ is used in their formulas. So, if $\tan(\frac{\theta}{2})=\frac{\sin(\theta/2)}{\cos(\theta/2)}$, and both the numerator and denominator are either positive or negative (and unless $\theta$ is defined, we must assume they can be both), shouldn't the formula for $\tan(\frac{\theta}{2})$ also be $\pm$?
Below are the equations I am referring to.
$$\sin \left( \frac{u}{2} \right) = \pm \sqrt{\frac{1-\cos(u)}{2}}$$
$$\cos \left( \frac{u}{2} \right) = \pm \sqrt{\frac{1+\cos(u)}{2}}$$ $$\tan \left( \frac{u}{2} \right)=\frac{1-\cos(u)}{\sin(u)}=\frac{\sin(u)}{1+\cos(u)}$$

Basically, your first two equations involve square roots, and the third doesn't. The first requires a $\pm$ as $\sin u/2$ may be positive or negative, but by convention square roots are positive.
But (using duplication formulas for sine and cosine) $$\frac{1-\cos u}{\sin u}=\frac{1-(1-2\sin^2(u/2))}{2\sin(u/2)\cos(u/2)} =\frac{2\sin^2(u/2)}{2\sin(u/2)\cos(u/2)}=\frac{\sin(u/2)}{\cos(u/2)}=\tan(u/2)$$ etc.