Stocks closed broadly lower as another round of US military strikes on Iran sent oil prices higher, stoking worries about stubbornly high inflation.