For a three dimensional rigid body, the mass moment of inertia tensor can be fully represented by a symmetric 3x3 matrix. If you look at the definition of each of the elements, they each depend only on the distribution of mass within the body. They do not depend on the axis of rotation; there may not be any axis of rotation defined.
If you now restrict rotation to one axis, most of the components of the inertia matrix become irrelevant, but that does not mean that they are changed. The just no longer contribute to the angular momentum or the kinetic energy.