Changing position in inspector changes rotation

For some reason, when I modify an object’s position vector by changing the X, Y, or Z values in the inspector, it changes the object’s rotation. Sometimes it changes the rotation in addition to the position, and sometimes it changes only the rotation.

It seems to only be the inspector that is affected. If I use the arrows in the scene window, the position changes properly.

What might cause this behavior?

EDIT: Note I’m using NGUI, if that matters, but this is happening to all of my objects (e.g. a simple sphere with no parent in the hierarchy), in case that has any impact.

Check your hierarchy, probably some parent object has rotation different of 0. " arrows in the scene window" use global rotation by default, where inspector are local.