Increased pain following surgery has long been linked to anxiety and "catastrophizing," an extreme response to stress.