The national debt surpassed a record $39 trillion on Wednesday, a milestone that comes just weeks into the U.S.-Israeli war in Iran.