The Democratic presidential candidate in a statement called the president's attacks "beneath the dignity of the office."