It's not immediately clear to me why this is true. My notes say that putting $n$ orthonormal vectors $ v_1, ..., v_n$ in the columns of $X$ gives $X^TX = I$, and it follows from this that the rows of $X$ are orthonormal.
Can you explain this better to me? I tried the $2\times 2$ case, but it isn't clear to me why this is true.
A more visual, though not rigorous approach.
Let $X=[v_1|\cdots|v_n\textbf{]}$ be a a orthogonal matrix, where $v_i,\ldots ,v_n$ are $n$-dimensional column vectors.
Then $X^TX=\begin{bmatrix}\underline{v_1}\\\vdots\\\overline{v_n}\end{bmatrix}[v_1|\cdots|v_n\textbf{]}=\begin{bmatrix}v_1\cdot v_1 & v_1\cdot v_2 &\cdots &v_1 \cdot v_n\\ v_2\cdot v_1 &v_2\cdot v_2 &\cdots &v_2\cdot v_n\\ \vdots &\vdots &\ddots &\vdots\\ \vdots &\vdots &\ddots &\vdots\\ v_n\cdot v_1& v_n\cdot v_2 &\cdots &v_n\cdot v_n\end{bmatrix}=I_n$