Stock market investors have had a tough time lately, and Wednesday's moves showed how different readings on the broader global economy are making it hard for investors to interpret what's going on. Amid widespread confusion about how much to worry about a new flare-up of COVID-19 cases and the potential impact on the economic recovery, markets were largely mixed Wednesday morning. As of 11 a.m. EDT, the Dow Jones Industrial Average (^DJI 0.45%) was down 37 points to 35,021. However, the S&P 500 (^GSPC 0.97%) gained 6 points to 4,407, and the Nasdaq Composite (^IXIC 1.38%) moved sharply higher, rising 111 points to 14,772.

On a day packed with corporate earnings releases, a couple of stocks stood out. Boeing (BA -0.83%) represents an old-economy powerhouse that's trying to reinvent itself in a time of massive industry challenges, while Shopify (SHOP 4.47%) has embraced the digital revolution to build a highly successful business in a short period of time. Both companies released earnings on Wednesday morning, and both have insights that investors can use to make broader conclusions about the direction of the economy and the stock market.

Flying higher

Shares of Boeing were up more than 5% on Wednesday morning. The aircraft manufacturer reported strong second-quarter financial results that gave investors some comfort about its ability to adapt to dramatically changing conditions in the aerospace industry.

Boeing 737 aircraft in flight.

Image source: Boeing.

The big surprise from Boeing was that it managed to make money. Net income came in at $567 million, reversing a $2.4 billion loss in the year-earlier period. Adjusted earnings per share of $0.40 were far better than the modest loss most investors were expecting, and it marked the first quarterly profit for the aerospace giant since 2019.

Boeing reported progress on multiple fronts. The return of the 737 MAX aircraft line to service has continued, with more than 130 aircraft delivered since the Federal Aviation Administration and other regulatory bodies across the globe allowed the 737 MAX to fly again. Thirty airlines are using the planes, with more than 218,000 flight hours. In addition, business transformation efforts are proceeding apace, and moves to bolster its defense, space, and global services business have borne some fruit as well.

To be clear, Boeing still faces challenges. The company doesn't expect passenger traffic to return to 2019 levels until 2023 or 2024. Yet Boeing sees airlines making plans for their fleets several years out into the future, and despite short-term challenges, the aircraft manufacturer sees conditions steadily improving. If those trends continue, then they could help Boeing make a full recovery for patient investors willing to wait a while.

E-commerce lifts Shopify

Shopify's second-quarter financial results didn't spur a huge move in its stock price, with shares actually easing lower by less than half a percent. Nevertheless, the e-commerce-enabling platform provider has seen its business continue to perform strongly even as some have figured that emerging from the pandemic would lead to a decrease in online activity.

Shopify's impressive growth rates continued during the quarter. Revenue jumped 57% year over year to $1.12 billion, marking the company's first billion-dollar quarter. Subscription services revenue soared 70% on greater numbers of merchants on the platform, while gross merchandise volume sold by Shopify merchants hit a record $42.2 billion, up 40% from year-ago levels. Even after adjusting for a one-time gain, net income more than doubled from the second quarter of 2020, with adjusted earnings of $2.24 per share comparing favorably to what most Shopify investors had anticipated.

The share-price decline reflects ongoing concerns that e-commerce will see a cyclical downturn once economies fully reopen. Yet having invested so much in digital transformation, most merchants will be reluctant to return fully to a brick-and-mortar model. Hybrid business operations will still require Shopify's clients to use its platform, generating further revenue.

Investors should prepare for some things to go back to their pre-pandemic ways, while others remain changed forever. Both Boeing and Shopify have their respective roles to play going forward, and shareholders can expect a lot from both in the future.