Why cannot I change the horizontal resolution of the camera output?

Why in Blender, when you wanted to change the camera width and height, you cannot use mouse to scroll the X, Y fields in resolution box? They all seemed to change only the vertical height of the camera view?

here is the clip I record my screen, starting with Blender 2.78C, then Blender 3.5.1. Is this anything todo with Graphic Card I am using?

Here is setting to OpenGPL

And here is the MacOS version and Graphic Card info.

Change it even more and you see that its not like that. But it tries to align it in the visible area and prefers a “maximized” width.

I got the idea now.

Thank you so much