The military bases in the region are not defensive in nature. The expectation with Iran has always seemed to be that the IR would strike first & provide justification for an immediate, overwhelming response. The bases wouldn't have remained exposed after that basically because we would be staging a full scale invasion.
These bases exist to supply & make it possible for the US military to launch offensives in the region.