Spain's socialist president is locked in a war of words with Washington, which has threatened to cut trade ties.