Chicago White Sox’s Dioner Navarro (27) reacts after hitting a two-run home run during the fifth inning of a baseball game against the New York Yankees in Chicago, on Monday, July 4, 2016. (AP Photo/Jeff Haynes) more >

CHICAGO (AP) - After coming in from the West Coast and stumbling through another loss, the New York Yankees were looking forward to a little rest.

CC Sabathia allowed a pair of two-run homers, shortstop Didi Gregorius committed a career-high three errors and New York lost 8-2 to the Chicago White Sox on Monday.

“It was a terrible day,” said the normally sure-handed Gregorius, who had never committed more than one error in a major league game. “I was trying to read the ball and there were a couple bad hops, but I tried to stay with it and made three errors today. But tomorrow is a new day, so I’m not worried about that.”

Chase Headley hit a two-run homer for New York, which has lost three of four. Starlin Castro went 4 for 4 with two doubles in his first game in Chicago since the Yankees acquired the infielder in a December trade with the Cubs.

The Yankees (40-42) went 0 for 13 with runners in scoring position.

“That was the difference in the game,” manager Joe Girardi said. “They got the hits when they needed them and we didn’t. We had plenty of opportunities.”

New York opened a 10-game trip by dropping two of three at San Diego, winning 6-3 on Sunday to prevent a sweep. Then the Yankees flew to Chicago for Monday afternoon’s series opener.

“It’s a tough day today, a quick turnaround with the day game and the time change and all that,” said left fielder Brett Gardner, who went 0 for 5 with two strikeouts. “But that’s part of it and hopefully we can get some rest tonight and be ready to go tomorrow.”

Chicago had a string of 15 consecutive solo shots, matching a franchise record, before Tim Anderson connected in the third inning for a two-run homer that tied it at 2. Brett Lawrie hit a tiebreaking sacrifice fly in the fifth before Dioner Navarro belted a two-run drive to left field for his fifth homer.

Anderson went 2 for 4 for his 12th multihit game since he was promoted from the minors on June 10. The 2013 first-round pick has four homers in 23 games with the White Sox after hitting four in 55 games with Triple-A Charlotte.

“I guess it’s daddy strength kicking in,” said Anderson, who became a parent for the first time during spring training.

Sabathia (5-6) struck out nine in six innings, but allowed five runs and eight hits. The big left-hander has dropped each of his last two starts and is winless in his last three outings with an 8.31 ERA during that stretch.

“I thought his stuff was much better than the numbers indicated, but that’s baseball,” Girardi said. “You have to make pitches all the time.”

While Sabathia is struggling, James Shields (4-9) got his second straight win after a long slump that started with San Diego and carried over to Chicago after he was acquired in a trade a month ago. The right-hander, who went 0-2 with a 15.80 ERA in his first four starts for the White Sox, limited New York to five hits in six innings.

“You’re going to have rough stretches pretty much every year, so it’s nothing crazy,” Shields said. “But we’re just going to continue to work hard and try to get this team some wins.”

WORTH NOTING

Yankees center fielder Jacoby Ellsbury reached on catcher’s interference for the eighth time this year, tying the major league record set by Roberto Kelly of the Yankees in 1992.

TRAINER’S ROOM

Yankees: Carlos Beltran (right hamstring) went 1 for 5 as the designated hitter. “Tomorrow, hopefully, I’m in the outfield and I’ll continue to progress,” he said. … A day after he homered twice to get to 401 for his career, Mark Teixeira got the day off to protect his right knee from the short turnaround between games. The switch-hitting first baseman came off the disabled list June 25 after being sidelined with torn cartilage in his right knee.

White Sox: OF Melky Cabrera went 2 for 5 in his return to the starting lineup after missing five games with a mild right wrist sprain. He also made a diving catch in left in the seventh.

UP NEXT

White Sox LHP Carlos Rodon (2-6, 4.24 ERA) tries for his first win since May 22 when he gets the ball Tuesday night. The Yankees counter with RHP Masahiro Tanaka (5-2, 3.35), who is 2-0 with a 4.50 ERA in his last three starts.