in editor, direction of rotate

Hi, I have a question about Unreal’s rotation system.

It is observed that the x-axis and y-axis rotate in the same direction with base on each axis, but the z-axis rotates in reverse.

For example, the x- and y-axes rotate clockwise with respect to each axis, while the z-axes rotate counterclockwise.

Please explain why this phenomenon occurs.