Let's do the difficult direction.
Let $\zeta\in\mathbb C$ be a primitive $n$th root of unity.
If $f=t^n-1$ divides $g=t^m-1$, then $\zeta$ must be a root of $g$ because it is a root of $f$. From this and the basic property of primitive roots we see at once that $n\mid m$.
NB. Suppose that $F$ is any field and that $f$ divides $g$ in $F[t]$. If $\bar F$ is the algebraic closure of $F$, then $f$ divides $g$ in $\bar F[t]$, so we may just as well suppose that $F$ is algebraically closed. If $n=p^an'$ with $(n',p)=1$ and $\alpha\geq0$ and $f_0=t^{n'}-1$, then $f_0$ divides $f$ so it divides $g$. We may thus suppose also that $(n,p)=1$. In that case, there is a primitive $n$th root of unity $\zeta\in F$ and we do exactly the same as before.