Z Axis is acting strange

where do you set this ?