Two U.S. indices closed at record highs on Friday, Sept. 15, even as geopolitical worries spiked following another missile launch from North Korea and a terrorist attack in London.

The Dow Jones Industrial Average rose 0.29% to close at a record high of 22,268.34. Apple Inc. (AAPL) rose 1%, Boeing Co. (BA) gained 1.59% and 3M Co. (MMM) rose 0.9%. The S&P 500 also reached a record high, closing at 2,500.23. The Nasdaq added 0.3% to close at 6,448.47.

Apple is a holding in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells AAPL? Learn more now.

A rebound in Apple shares led the tech sector higher. Apple had been under pressure since Tuesday as investors assessed how its latest product launches, including a $1,000 iPhone, could impact sales in coming quarters. Semiconductor stocks, such as Nvidia Corp. (NVDA) , Advanced Micro Devices (AMD) and ON Semiconductor Corp. (ON) were among the best performers in the sector.

Even singer Jason Derulo thinks the iPhone X costs too much.

An explosion on a London Underground train Friday morning was declared a terrorist incident by British police. At least 23 people were injured when a possible explosion took place on the District Line at the Parsons Green stop in West London. Reports indicated the explosion was caused by a homemade bomb, placed into a bucket.

In a statement following the incident, London Mayor Sadiq Kahn said the city would "never be intimidated or defeated by terrorism." He added, "I urge all Londoners to remain calm and vigilant."

If you'd like to receive the free "5 Things You Must Know" newsletter, please register here.

North Korea again ignored international calls to cease its ballistic tests after launching a missile that flew over Japan for the second time in a month. The overnight launch flew more than 3,700 kilometers, Japan's Chief Cabinet Secretary Yoshihide Suga said, and landed in the sea around 2,000 kilometers east of the island of Hokaido.

U.S. Secretary of State Rex Tillerson said that "continued provocations only deepen North Korea's diplomatic and economic isolation," and urged tougher sanctions. The U.N. Security Council is slated to meet Friday to discuss the issue. The Council on Monday had voted for new sanctions against North Korea.

Crude oil prices stabilized on Friday after settling at their highest level in more than six weeks, a day earlier. This week's rally kicked off on signs of reduced global production. Global oil supplies have hit a snag in recent weeks as Hurricane Harvey limited output in the U.S. and declining activity in the Middle East helped the Organization of Petroleum Exporting Countries keep to a previous deal to limit production.

Scenes from the latest U.K. attack.

The weekly U.S. active oil-rig count dropped by seven, to 749, according to Baker Hughes. The total active U.S. rig count, including oil and natural-gas rigs, fell by eight, to 936.

West Texas Intermediate crude settled at $49.89 a barrel on Friday.

U.S. retail sales fell in August as weaker auto sales weighed on the headline number. Retail sales fell by 0.2%, according to the Commerce Department, though rose by 0.2% when excluding autos. Excluding autos and gas, retail sales fell by 0.4%. Motor vehicle sales slumped 1.6% in August, its second-worst drop of the year, as Harvey likely dampened purchasing activity.

"In the first of many indicators this fall to be impacted by hurricanes, the August retail sales report showed the surge in gasoline sales was erased by the lost business from other categories in August," said Wells Fargo economists in a note. "In September, building supply stores will likely see much stronger sales as Houston and the entire state of Florida rebuild and recover from major back-to-back storms."

The fallout from Harvey also impacted industrial production. The measure unexpectedly declined in August, the first drop since January. The Federal Reserve reported a 0.9% dip last month to a reading of 104.7. Economists anticipated a 0.1% increase after rising by 0.4% in July. Capacity utilization fell to 76.1% from 76.9%.

Business conditions in the New York region dipped in September, though at a narrower pace than expected. The Empire State Survey fell by 0.8 points, to 24.4. Economists expected a sharper decline to 19.

Consumer sentiment eased in September after hitting its highest level since January in August. The measure fell to 95.3 in September, according to the University of Michigan, a better reading than an expected 95.1.

Business inventories rose by 0.2% in July to $1,873.9 billion, the Census Bureau reported, calming down after a 0.5% increase in June. July's increase was as expected.

Shares of Oracle Corp. (ORCL) fell 7.67% on Friday after the computer software giant signaled slower growth in its cloud business. The stock initially rose after Oracle reported better-than-expected earnings and revenue in its fiscal first quarter on Thursday but then declined after the company said it expected total cloud revenue to increase 39% to 43% in the fiscal second quarter, down from last quarter's growth of 51.4%.

What TheStreet's Jim Cramer thinks of Oracle's results.

The airline sector was under pressure on Friday after JPMorgan downgraded American Airlines Group Inc. (AAL) and United Continental Holdings Inc. (UAL) to neutral on weaker pricing and higher fuel expenses. Analysts are uncertain the two airlines can meet fourth-quarter estimates. American declined 0.4% while United slid 2.35%.

Carnival Corp. (CCL) slumped 4.07% after Credit Suisse downgraded its rating on the cruise company to neutral from outperform. The firm sees Hurricane Irma's damage in the Caribbean hurting demand for the cruiseliner. Terrorist attacks in Barcelona and the North Korea threat could contribute.

Updated from 3:49 p.m. ET, Sept. 15.

More of What's Trending on TheStreet:

More from Futures

Stocks Rise Modestly and 4 Other Stories to Watch Premarket Friday

Stocks Rise Modestly and 4 Other Stories to Watch Premarket Friday

Futures Point Toward a Wall Street Rebound and 4 Other Stories to Watch Thursday

Futures Point Toward a Wall Street Rebound and 4 Other Stories to Watch Thursday

Trump's Latest $200 Billion Tariff Threat and 4 Other Stories to Watch Wednesday

Trump's Latest $200 Billion Tariff Threat and 4 Other Stories to Watch Wednesday

Investors Shift Focus to Earnings and 4 Other Stories to Watch Tuesday

Investors Shift Focus to Earnings and 4 Other Stories to Watch Tuesday

Investors Ditch Soybeans With Agricultural ETFs Selloff

Investors Ditch Soybeans With Agricultural ETFs Selloff