Let's say I want to find the angle measure (in degrees) such that $\tan(x) = -3/2$.
It turns out that $x \approx 123.7$, and when I compute $\tan(123.7)$, I get $\approx -3/2$; so far so good.
However, when I compute $\arctan(-3/2)$, I get $\approx -56.3$ where I expected $\approx 123.7$ since $\arctan$ is the inverse of $\tan$.
By definition, $\arctan x$ is the angle (in radians) between $-\pi/2$ and $\pi/2$ whose tangent is $x$.
There are infinitely many numbers $y$ such that $\tan y=-3/2$.