The reaction is N2(g) + 3H2(g) < -- > 2NH3(g)
Liquefying the ammonia basically removes the gaseous form from the equation. Removing NH3(g) reduces [NH3] and so the equilibrium will shift right by Le chatelier's Principle to minimise the disturbance. Shifting to the right means more yield