As Philipp stated in the comments it is Le Chatelier's principle in play.
The principle in layman's language states that
If you try to bring about any physical change in a system the system will try to but not necessarily succeed in cancelling the change.
The reaction you have given is an equilibrium reaction where all the compounds are in gaseous state.
Now if you count the total number of moles on the left-hand side it will be $\ce{2SO2 + O2}$
i.e. $\ce{2 + 1}$ that is $\text{3}$.
And on the right-hand side there are only $\text{2}$ moles of $\ce{SO3}$.
So ultimately if you consider the reaction to proceed in forward direction 3 moles of gas are converting into 2 moles of gas and hence the volume decreases in forward direction.
If you think according to Gas Law(or logically) an increase in pressure generally corresponds to a decrease in volume.
Now use Le Chatelier's principle to say that if I increase the pressure on the the system ,in order the system
to counteract to the change will decrease it's own volume and it has no other way of achieving that but to proceed in the forward direction.
But if the query arises that high pressure should favour any and every reaction take a look at the example below:
$$\ce{PCl5 <=> PCl3 + Cl2}$$
Here the gaseous moles on the left-hand side is $\ce{1}$ and on the right-hand side $\ce{2}$. So increasing pressure makes the reaction proceed in the backwards direction as there are less number of gaseous moles on the left-hand side.
In fact, in higher level this idea is what is called $\Delta\text{n}_\text{g}$ i.e the difference($\Delta$) of gaseous($_g$) moles($\ce{n}$).
$$\Delta\text{n}_\text{g} \quad = \text{gaseous moles on right-hand side - gaseous moles on left-hand side}$$
If $\Delta\text{n}_\text{g}$ is positive, then on increasing pressure reaction proceeds backwards and vice-cersa