Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
so you need to go into Output Properties
and just change Resolution X (as marked in the screenshot) to a higher value
(or you can also change the Resolution Y to a lower value)
to scale down the camera on the Z-axis.