The 2mA current of the current source flows out of the top junction, so the same current has to flow in through the resistors. The sum of the currents flowing in is equal to the sum of the outflowing currents according to Kirchhoff's Current Law. So the current flows upward through the 2 kΩ resistor.