A surprising deal between Amazon Inc.   (AMZN) - Get Report   and Whole Foods Market (WFM)  made waves on markets, pulling grocery stocks and the Nasdaq into the red. 

The tech-heavy Nasdaq declined by 0.22%, its third consecutive day of losses. But the Dow Jones Industrial Average gained 0.11% to finish at a record high. The S&P 500 rose slightly, up 0.03%. 

Amazon announced that it will acquire Whole Foods for $42 a share in an all-cash transaction valued at $13.7 billion. John Mackey, Whole Foods co-Founder and CEO, said the merger "presents an opportunity to maximize value for Whole Foods Market's shareholders." Whole Foods will retain its current headquarters in Austin, Texas, and Mackey will stay on as CEO.

Other retail and supermarket names were sent lower on the deal. Walmart Stores Inc. (WMT) - Get Report , Target Corp. (TGT) - Get Report , Costco Wholesale Corp. (COST) - Get Report , Casey's General Stores Inc. (CASY) - Get Report , Sprouts Farmers Market Inc. (SFM) - Get Report , Supervalu Inc. (SVU) and Consumer Staples Select Sector SPDR ETF (XLP) - Get Report  were all lower on Friday.

Earlier, Walmart also announced that it would purchase Bonobos, a menswear company, for $310 million in all-cash deal. The deal is expected to close at the end of the second quarter or beginning of the third. 

Supermarket company Kroger (KR) - Get Report also fell Friday after the Amazon.com-Whole Foods deal news. Additionally, Kroger stock was downgraded this morning to "neutral" from "overweight" at JPMorgan. The firm cut its price target on the stock to $24 from $34 as well. The downgrade comes as JPMorgan is concerned Kroger is facing challenges that go beyond deflation, including greater competition in the space.

Supermarkets are in a race to the bottom, Jim Cramer said over on our premium site for investors, Real Money. Get his insights with a free trial subscription.

Tech stocks have been mostly lower since late last week after Goldman Sachs warned investors of risks to recent heady gains in the sector. Since then, the FAANG stocks -- Facebook Inc. (FB) - Get Report , Apple Inc. (AAPL) - Get Report , Amazon Inc. (AMZN) - Get Report , Netflix Inc. (NFLX) - Get Report  and Alphabet Inc. (GOOGL) - Get Report (formerly Google) -- have taken the brunt of the selloff. Before the selloff, those five stocks had been responsible for two-fifths of the S&P 500's gains this year. 

Apple, Facebook, and Alphabet are holdings in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells AAPL, FB or GOOGL? Learn more now.

Housing starts declined to their lowest level in eight months in May even as overall demand in the U.S. housing sector remained generally robust. Starts declined by 5.5% in May to an annual rate of 1.09 million. Building permits also dropped, declining 4.9% to an annual rate of 1.17 million. Both measures missed expectations -- starts were expected to come in at 1.22 million and permits at 1.24 million. 

Consumer sentiment unexpectedly weakened in June, according to a preliminary reading from the University of Michigan. The index of consumer sentiment in the U.S. declined to 94.5 from 97.1 in May, driven by a drop in both current economic conditions and consumer expectations. Economists anticipated a flat reading.

A drop in sentiment was mostly tied to "more negative perceptions of the proposed economic policies among Democrats and the reduced likelihood of passage of these policies among Republicans," the University of Michigan wrote in a statement. 

Nike Inc. (NKE) - Get Report pressured the Dow again on Friday after JPMorgan hit the stock with a downgrade to neutral from overweight and reduced its price target to $58 from $61. Analyst Matthew Boss said he forecasts North America sales slowing amid a tough retail environment. The athletic wear company announced on Thursday, June 15, plans to amp up its direct-to-consumer offerings, as well as job cuts to 2% of its global workforce. Nike fell 1.9% in premarket trading on Friday.

Dow Chemical Co. (DOW) - Get Report  rose after the U.S. Justice Department approved its $130 billion merger with DuPont Co. (DD) - Get Report after a lengthy review. The approval requires some divestitures but not the extreme split-up a high-profile activist investor was seeking. Specifically, the DOJ required DuPont to divest some of its crop protection portfolio and to sell its global ethylene acrylic acid copolymers and ionomers business.

The approval was the last major hurdle the two companies needed to overcome before they could move on to complete their blockbuster deal, which was announced in 2015.

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

Finisar Corp. (FNSR) - Get Report moved higher despite an in-line fourth quarter and disappointing guidance. The optical communications company earned 50 cents a share, as expected, while revenue increased 12% to $357.53 million, falling short of consensus by roughly $2 million. Finisar anticipates first-quarter earnings no higher than 43 cents a share, below estimates of 51 cents.

Government contractor Booz Allen Hamilton (BAH) - Get Report  sank after the company announced late Thursday that it faces a federal civil and criminal investigation regarding its finances, CNBC reported. The management, consulting and technology company derives 97% of its income from government clients including the Pentagon and the IRS. This probe will investigate, "cost accounting and indirect cost charging practices with the U.S. government."

Friday fell on a quadruple-witching day, one of four times in the year in which futures and options contracts expire at the same time.

Visit here for the latest business headlines.

Worried about how to pay for your golden years? Ken Fisher, founder of Fisher Investments, and TheStreet's Jim Cramer will tell you what you need to know in a June 21 webinar on the market trends that are shaping retirement planning today. Register here for the event, which starts at 11 a.m. ET.

Read Related Articles: