Lawmakers were quick to react to the president's comments on the cost of living, immigration and foreign affairs.