More generally, what are the matrices $A\in M_n(\mathbb{R})$ that can be written $A=B^2-C^2$ where $B,C\in M_n(\mathbb{R}),BC=CB=0$ ?
Clearly, the result is true when $A$ is diagonalizable over $\mathbb{C}$ and $spectrum(A)\subset \mathbb{R}$.
The result is false for any nilpotent Jordan block of dimension $\geq 2$.
$\textbf{Proposition 1}$. The result is true when $spectrum(A)\subset \mathbb{R}^*$.
$\textbf{Proof}$. The problem reduces to the case where $A=I_n+J$ where $J_n$ is the nilpotent Jordan block of dimension $n$.
It suffices to take $C=0$ and $B=I+1/2J-1/8J^2+\cdots$.
$\textbf{Proposition 2}$. The result is true for any $A\in GL_n(\mathbb{R})$.
$\textbf{Proof}$. We may assume that
$A=diag(U,V)$ where $U$ is invertible without any $<0$ eigenvalues and $spectrum(V)\subset (-\infty,0[$.
The result is true for $U$ because any invertible matrix that has no $<0$ eigenvalues admits always at least one real square root.
When does a real matrix have a real square root?
According to Proposition 1, the result is also true for $V$ and we are done. $\square$