Is there a way to know what does it does qiskit in the step Optimize1qGatesDecomposition
?
What I can see is that each time qiskit wants to represent a rotation in SU(2) like $U(\theta,\alpha,\gamma)$, in order to write it in terms of $R_z$ and $\sqrt{X}$ gates, it writes $$ R_z(\alpha)\sqrt{X} R(\theta+\pi)\sqrt{X} R_z(\gamma). $$
However, when one has two such matrix multiplications
$$ R_z(\alpha_1)\sqrt{X} R(\theta_1)\sqrt{X} R_z(\gamma_!) \times R_z(\alpha_2)\sqrt{X} R(\theta_2)\sqrt{X} R_z(\gamma_2) $$
the optimization step ends up with a matrix like
$$ R_z(\alpha_3)\sqrt{X} R(x)\sqrt{X} R_z(\gamma_4), $$
where the angle $x$ is not necessarily the sum of the previous $\theta_i$'s (sometimes is not even $\theta_1 + \theta_2 + \pi$).