The US has built up its military presence in the Middle East in response to Iran's violent crackdown on protests.