Suppose that we have a short exact sequence of $K$-algebras, for a field $K$. $$0 \rightarrow A \rightarrow B \rightarrow C \rightarrow 0,$$ where $A$ is isomorphic to some ideal of $B$ and $B/A \simeq C$ as $K$-algebras.
If this SES splits does that automatically mean that $B \simeq A \oplus C$ as $K$-algebras? I know that, as vector spaces ($K$-modules) they are certainly split.
I vaguely recall that this 'split' iff 'direct sum' property is not necessarily true, but I'm unable to find a resource that actually shows this, and I'm starting to wonder if I just made it up because rings and algebras are poorly behaved mathematical structures.