A surge in textile imports contributed to a widened US trade deficit in January, according to a report by the government's Commerce Department.