We obtain
\begin{align*}
AB&=\{10,101\}\{001,100,1001\}\\
&=\{10001,10100,\color{blue}{101001},\color{blue}{101001},101100,1011001\}\\
&=\{10001,10100,101001,101100,1011001\}\\
\end{align*}
with generating function
\begin{align*}
\Phi_{AB}(x)=2x^5+2x^6+x^7
\end{align*}
We see $AB$ is not uniquely created due to $10\cdot1001=101\cdot 001$. The coefficient $[x^n]$ of the generating function $\Phi_{AB}$ gives the number of words of length $n$.
We obtain
\begin{align*}
BA&=\{001,100,1001\}\{10,101\}\\
&=\{00110,001101,10010,100101,100110,1001101\}
\end{align*}
with generating function
\begin{align*}
\Phi_{BA}(x)=2x^5+3x^6+x^7
\end{align*}
We see $BA$ is uniquely created and we consequently have $AB\neq BA$. We also have $\Phi_{AB}(x)\neq \Phi_{BA}(x)$.