In here the inversion of triangle $qab$ produces triangle $q \tilde{a} \tilde{b}$ but I find it a bit weird that $\angle qab = \angle q \tilde{b} \tilde{a}$ and $\angle q ab = \angle q \tilde{a} \tilde{b}$, why exactly does the angles of triangle switch under inversion? is there something deeper that I may be missing?
Picture from Tristan_Needham's visual complex analysis book

In a triangle, a larger angle is opposite a longer side. Loosely speaking, since inversion turns relatively "longer" segments into "shorter" ones, one should expect the relative angle sizes to switch.
More formally, if $|qa|\color{red}{\leq}|qb|$ so that $\angle a \color{green}{\geq} \angle b$, then because inversion switches the length comparison to $|q\tilde{a}|\color{red}{\geq}|q\tilde{b}|$, it should also switch the angle comparison to $\angle \tilde{a} \color{green}{\leq} \angle\tilde{b}$.
Of course, the fact that $\angle a \cong \angle \tilde{b}$ and $\angle b \cong \angle\tilde{a}$ follows from the triangles being similar via SAS Similarity, so we don't really need to think "comparatively". Even so, it's helpful to build and intuition about how inversion affects relative lengths and angles.