Answer
Distance between them will increase. Before throwing ball momentum of both of them will be zero. To conserve the momentum person who throws the ball moves backward. Person who catches the ball experiences a net force while catching the ball and he moves backwards.