Why camera movement cannot undo?

It’s too small to see here. But it seems you’re moving the viewport view, not the camera… Do correct me if I’m wrong.