To draw 4D on a flat screen you project twice: 4D → 3D (perspective along the w-axis), then the usual 3D → 2D. In the first step, things farther out in w shrink — exactly like 3D perspective makes distant things small.
So the inner cube isn't really inside the outer one — it's the cell at w = −1, drawn smaller because it's farther away in the fourth direction. Slide 4D depth down toward 1 and watch the whole figure swell and turn through itself as the projection point nears.
In 3D you rotate about an axis — really, in a plane: xy, xz, yz. Three planes. In 4D there are six: add xw, yw, zw.
The three pure-3D planes (xy, xz, yz) spin it like an ordinary cube. The three w-planes (xw, yw, zw) do the 4D-only move — rotating space into the fourth dimension, which is what turns the cube inside-out. Toggle them one at a time to feel the difference.