What happened

Shares of consumer-discretionary retail operators were trading higher on Friday on growing investor optimism after new data indicated that the unemployment rate in May was better than expected. 

Here's where things stood for these companies' stocks as of 3:15 p.m. EDT, relative to their closing prices on Thursday:

So what

The day started off with good news: Unemployment figures for May were not as bad as expected. 

The U.S. Bureau of Labor Statistics reported on Friday morning that total non-farm employment rose by 2.5 million jobs in May, driving the unemployment rate down to 13.3% from 14.7% in April. While that's still very high, most analysts had expected a steep decline in total jobs. 

A Macy's sign on the outside of a store.

Macy's has reopened many of its stores, but some may close again -- for good -- later this year. Image source: Macy's.

Clearly, for businesses that depend on consumers spending discretionary income, better-than-expected employment figures count as good news -- and for these companies' beaten-up stocks, the good news was driving sizable gains on Friday. 

All five of these companies were forced to close most of their brick-and-mortar stores in March, depriving them of much of their revenue. While some were able to make up some of the difference via online sales, all took big financial hits. 

Now, with stores reopening around the country, and with employment starting to recover, things are looking a lot better: That's why the stocks were up today.

Now what

While the economy (and these companies' sales) may be recovering, it's far from recovered, and there will be more challenges ahead. Macy's, for instance, was restructuring before the pandemic, and some difficult store closings are coming. Many retail chains, including Bed Bath & Beyond, stopped paying landlords amid coronanvirus struggles: What happens now?

Simply put, while the news is good, there are still lots of reasons for investors to be cautious with these stocks. Trade carefully.