U.S. stock indexes wavered between small gains and losses as the market gave back some of its gains from a three-day winning streak and more in Tuesday’s Stock Market Update.

Technology and communication sector companies were among the gainers. Western Digital rose 2.4% and Facebook added 3.7%.

Consumer products companies took some of the heaviest losses. Walgreens Boots Alliance plunged after it slashed its forecast following a weak quarter. Competitor CVS followed it lower.

Dow Inc., which makes plastics and other products for both consumer and industrial uses, climbed 5.1% in its first day of trading after being spun off from chemical maker DowDuPont.

The modest slide in stocks marks a reversal from an overall strong stretch for the market. The benchmark S&P 500 finished the January-March period with its biggest quarterly gain in nearly a decade. The index is now up 14.4% this year, and would now need to rise just 2.3% to regain the peak it reached September 20.

Investors are looking ahead to Wednesday, when trade negotiations between the U.S. and China are due to resume. Officials from the world’s two biggest economies are aiming to put to rest a dispute over technology and other issues.

Friday also brings potential market-moving news, when the government issues its tally of jobs added by U.S. employers last month. Economists project a gain of 170,000, according to FactSet.

Traders are also gearing up for a slew of corporate earnings this month, as the next big wave of company results kick into gear next week.

Wall Street expects a contraction in earnings during the first quarter, followed by slow growth for the remainder of 2019. Any company commentary about their prospects for the next few quarters will be important in giving analysts and investors a better picture of the economy.

STOCK MARKET UPDATE

ANALYST’S TAKE: Investors are still not sure which direction to move as they weigh uncertainty over international trade issues and warnings over a weak first quarter for companies.

The unresolved trade dispute between the U.S. and China is still a key issue, said J.J. Kinahan, chief market strategist at TD Ameritrade.

“Nobody wants to buy with both hands, just in case,” he said. “But, people won’t aggressively sell everything as well, just in case.”

KEEPING SCORE: The Dow Jones Industrial Average fell 79 points, or 0.3%, to 26,179 by closing time. The S&P 500 index was essentially flat and the Nasdaq composite index rose 0.3%. The Russell 2000 index of smaller company stocks gave up 0.2%.

Major European stock indexes finished higher.

TAKE AN ASPIRIN: Walgreens had a headache of a quarter as insurers trimmed prescription costs, generic drug prices dropped and brand-name medication prices stalled.

Al those factors resulted in a 14% drop in second-quarter profit, which the company’s CEO described as the most difficult quarter the nation’s largest drugstore has faced since forming a few years ago.

Walgreens also slashed its forecast for 2019.

The stock fell 13.1% and helped push down key competitor CVS Health by 3.8%.

LIFTOFF: Delta climbed 6.1% after raising its profit forecast for the current quarter, citing strong passenger demand. The company also said fuel costs were less than expected and it extended a credit card partnership with American Express.

Other airlines also rose. United Continental rose 2% and American Airlines Group added 1.9%, and JetBlue Airways rose 1.4%.

© The Associated Press. All rights reserved.