If $a^{r/2} \equiv -1$, then $a^{r/2}$ is a trivial square root of $1$ instead of an interesting square root. We already knew that $-1$ is a square root of $1$. We need a square root we didn't already know.
Suppose I give you a number $x$ such that $x^2 = 1 \pmod{N}$. You can rewrite this equation as:
$$\begin{align}
x^2 &= 1 + k \cdot N
\\
x^2 - 1 &= k \cdot N
\\
(x+1)(x-1) &= k \cdot N
\end{align}
$$
The key thing to realize is that this equation is trivial when $x$ is $\pm 1 \bmod N$. If $x\equiv -1$, then the left hand side is $0 \bmod N$ because the factor $(x+1)\equiv 0$. The same thing happens if $x \equiv +1$, but with the other factor.
In order for both $(x+1)$ and $(x-1)$ to be interesting (i.e. non-zero mod $N$), we need $x$ to be an extra square root of $1$. A square root besides the obvious $+1$ and $-1$ answers. When that happens, it is impossible for the prime factors of $N$ to all go into $(x+1)$ or all go into $(x-1)$, and so $\gcd(x+1, N)$ is guaranteed to give you a factor of $N$ instead of a multiple of $N$.
For example, if $N=221$ then $x=103$ is an extra square root of 1. And indeed, both $\gcd(x+1, N) = \gcd(104, 221) = 13$ and $\gcd(x-1, N) = \gcd(102, 221) = 17$ are factors of $221$. Whereas if we had picked the boring square root $x=-1\equiv 220$, then neither $\gcd(x+1,N) = \gcd(221, 221) = 221$ nor $\gcd(x-1,N) = \gcd(219,221) = 1$ are factors of $221$.