Replace x with 2x, and the x axis number line will expand by a factor of 2.
I.e. the old input doubles to the new input
x = 4 doubles to x = 8 for instance
The x axis values doubling like this means the x axis number line is stretched out horizontally.
In turn, it gives the illusion the curve is squished horizontally.
Here's a comparison.
The parent function y = x^2 is in green.
The equation y = (2x)^2 is in blue.
The blue graph is horizontally compressed by a factor of 2.
Desmos and GeoGebra are two graphing apps I recommend.
Another way to look at it:
y = (2x)^2 = 4x^2
The jump from y = x^2 to y = 4x^2 is "times 4".
Each old output of the parent function has been quadrupled, which will make the parabola 4 times taller.
A point like (1,1) on the green parent function moves to (1,4) on the blue transformed parabola.
A horizontal squish will be paired with a vertical stretch. Imagine the parabola is a bit of clay that can be molded.