The following things influence the moment of inertia:
The material's density
The body's shape and size
Rotational axis (distribution of mass relative to the axis)