From the start of his war with Iran, President Donald Trump took care to acknowledge the ugly headlines that could result.