As for the discrepancy in rotation, this is due to the fact that the order of rotation of the axes is different.