The former South Carolina governor’s exit has reportedly surprised the Trump administration.