In fact, nonzero eigenvalues $AB$ and $BA$ are the same for any rectangular matrices
$A$ and $B$. This follows from the fact that $\tr((AB)^k) = \tr((BA)^k)$ and the coefficients of the characteristic polynomials of a square matrix $A$ are a function of $\tr(A^k).$