The US president tweeted after his Iranian counterpart responded to sanctions unveiled on Monday.