First Josh Beckett couldn't get an out.
Then he couldn't catch a break.
The Red Sox right-hander allowed the first five batters he faced to score and was booed on his way to the dugout after the top of the first. Then, after Boston rallied to tie the game and take a 7-6 lead, the bullpen coughed up the lead and cost Beckett a win.
"In the first inning, the strike zone was very hard for him to find," Red Sox manager Bobby Valentine said. "I've never seen him like that."
Mark Teixeira hit a two-run single in the Yankees' five-run first inning and a two-run triple in the seventh to give them the lead for good on Friday night as New York beat Boston 10-8.
Alex Rodriguez had three hits and Curtis Granderson scored three times for the Yankees, who improved to 3-0 against Boston this year.
David Ortiz and Adrian Gonzalez had three hits apiece for Boston, and Jarrod Saltalamacchia hit a three-run homer to help the Red Sox rally after Beckett gave up five runs in the top of the first. It was 5-all when the inning ended.
"They got five in the first; we had their closer in at the end of the game," Valentine said. "We did a good job, but it put us climbing uphill the whole game."
Rafael Soriano got four outs for his 20th save - his first save of more than one inning since 2007.
Boone Logan (4-0) wound up with the win and Andrew Miller (2-1) took the loss.
It was the first game between the two rivals since the Yankees rallied from a 9-0 deficit with seven runs in the seventh and seven more in the eighth to win 15-9 on April 21 at Fenway Park.
This time, neither team could hold a lead.
The Yankees coughed up a 5-0 lead in the first and a 6-5 lead in the second, and Boston led 7-6 after five. But New York scored four times in the seventh inning, taking an 8-7 lead on Teixeira's triple.
Raul Ibanez doubled in Teixeira and scored on Eric Chavez's single to make it 10-7.
Beckett allowed six runs on eight hits and two walks, striking out five in five innings.
The first five Yankees all reached base - and scored - on three singles, a hit batsman and a walk. When Beckett got Nick Swisher on a flyout to right, the crowd cheered sarcastically, and it booed as he walked off the field at the end of the inning.
But Yankees starter Hiroki Kuroda was just as bad, giving up seven runs - six earned - on 10 hits and a walk while striking out three in 5 2-3 innings.
The Red Sox tied it in the bottom of the first, thanks in part to a two-run double by Gonzalez followed by Saltalamacchia's career-high 17th homer.
The teams traded single runs in the second inning before the pitchers settled down. The Yankees nearly took the lead in the fifth when Rodriguez singled and stole two bases. But he was thrown out trying to score on a grounder to second when Daniel Nava came home with the throw and Saltalamacchia blocked the plate.
Boston took a 7-6 lead in the fifth when Gonzalez singled, took second on a wild pitch and scored on Mauro Gomez's single - his first career RBI.
But the Yankees went ahead after Miller came in to start the seventh.
Granderson walked and Rodriguez singled and, after Robinson Cano struck out, Vicente Padilla came on to face Teixeira. The Yankees first baseman lined a triple to the deepest part of the ballpark, the center field triangle, just short of the 420-foot marker.
Granderson and Rodriguez scored and Teixeira slid into third without drawing a throw.
The Red Sox threatened another comeback when Cody Ross led off the bottom half with a homer and Gonzalez singled. But Logan struck out Saltalamacchia and Cody Eppley came on.
Gomez singled, but Mike Aviles hit a grounder that drew Jeter deep into the hole to his right and he threw to third for the force on Gonzalez. David Robertson struck out Nick Punto with runners on second and third to end the inning.
NOTES: The Red Sox and Yankees promoted a "hashtag battle" on Twitter, with each team promising fans autographed souvenirs if it won. ... Before the game, the Red Sox honored Ortiz for his 400th career home run. Boston Mayor Tom Menino joined the owners on the field, and many Yankees went to the top step of their dugout to applaud. ... Cano drove in a run for the ninth straight game, the longest streak for a Yankee since Jeter had nine in 2004. ... Before the game, the Red Sox put 2B Dustin Pedroia on the 15-day DL with a hyperextended right thumb. INF Pedro Ciriaco was selected from Triple-A Pawtucket to take his place, and Rich Hill was transferred to the 60-day DL to make room for Ciriaco on the 40-man roster. The Red Sox also activated OF Scott Podsednik from the 15-day disabled list and optioned him to Pawtucket. ... Russell Martin was hitless in three at-bats, making him hitless in his last 30. ... Former Red Sox outfielder Darnell McDonald made his Yankees debut as a defensive replacement in the ninth.
This program aired on July 7, 2012. The audio for this program is not available.