I know how and why we use this form of stationary Schrödinger equation for finding $\psi$ outside the finite square potential well:
$$\frac{d^2 \psi}{dx^2}=\kappa^2 \psi$$
I Also know that the general solution to this equation is:
$$\psi = Ae^{\kappa\, x} + Be^{-\kappa\, x}.$$
But why do we use only left part $\psi = Ae^{\kappa \, x}$ for the left outer side $x<0$, and the right part $\psi = B e^{-\kappa\, x}$ on the right outer side part $x>0$?