Quantum catastrophes from an algebraic perspective