Apply rotation issue

Hello,

Why when i apply rotation to the object rotation has change?
And why when i try to rotate in z local axis object rotate in all axis?