The U.S. has built up one of its biggest military deployments in the Middle East, while Iran has threatened to strike American bases in the region if it is attacked.