We see that if $a=0$, then if $b=0$ the roots are not distinct. By Descartes' rule of signs, if $b>0$, there will only be one negative real root and if $b<0$ there will only be one positive real root. So, $a\ne0$.
Next, let's consider if $b=0$, then we have:
$$x\left(x^2+a \right)=0$$
We see that we must have $a<0$ in order to have 3 distinct real roots.
Next, let's consider if $b>0$.
By Descartes' rule of signs, and given that there are 3 distinct real roots, there will be 2 positive roots if there are 2 sign changes between successive coefficients. That is if $a<0$. Mutiplying the odd-powered terms by -1, we then have one sign change and thus there will be 1 negative root.
And finally, let's consider if $b<0$.
Descartes' rule of signs tells us that if $a$ is positive then there can only be at most 1 positive root. If $a$ is negative then there will be 1 positive root and 2 negative roots.
Thus, in all cases concerning $b$ we find that $a<0$.