Suppose $A$ and $B$ are not zero matrices. Suppose they have the same dimensions $n\times n$ and have real entries. Suppose that if $Ax = 0$ then $Bx = 0$. Is it true that there exists $C$ such that $A = CB$? Is is true that there exists $D$ such that $B = AD$?
I am not sure if this is the right way to think about it. I think of $B$ as a system of equations, and $A$ as the reduced form of $B$. Then, if $x$ solves $A$, it solve $B$. So we have $A = \text{[some row operations matrices]}B$.
Is my argument correct? Is there any other argument? Thank you.
This only answers one of your two questions, and that only incompletely.
$\newcommand{\rank}{\operatorname{rank}}$We have by assumption $$\ker A \subseteq \ker B $$ Now by the Rank-Nullity theorem (since the codomains of $A$ and $B$ have the same dimension): $$\rank(B) \le \rank(A) $$ If this inequality is strict, there might exist a matrix $C$ such that $B=CA$, however there cannot exist a matrix such that A = CB, because $$\rank(CB) \le \min\{\rank(C),\rank(B) \} < \rank(A)$$ see this question. If the inequality is not strict however then there is less we can say.