When you change the frame width, or focal length, you're basically distorting the field of view, this means that the picture the camera "catches" will be stretched, or clinched, depending on the value you set. This is actually how real cameras work (to a degree).
The viewport isn't affected by this because it's not a camera.