HOUSTON — The Astros have been tough to beat at home this season, and even tougher to beat when they lead after six innings.
Against Arizona on Friday night, Houston couldn't keep a three-run lead at home.
Welington Castillo and Jake Lamb homered to open the 10th inning, and the Diamondbacks rallied from three runs down to beat the Astros 6-4 for their season-high sixth straight win.
Houston got all its scoring in the fifth inning on a three-run homer by Jason Castro and a solo shot by Carlos Correa to take a 4-1 lead. The Diamondbacks scored twice in the sixth and then tied the score on David Peralta's RBI single in the seventh.
"We had the lead," Astros manager A.J. Hinch said. "Any time you have the lead at some point late in the game, you feel like it got away from you a little bit."
The loss snapped a seven-game home win streak for Houston, which fell to 36-18 at home and 42-6 when leading after six innings.
"We didn't play our best today," Hinch said. "In all aspects of the game, we had a tough time answering them and it cost us the game in a couple different ways."
Castro hit a three-run shot for the second straight day — following his game-winning homer Thursday against the Angels.
"We'd been playing pretty well," Scott Feldman said. "It kind of seems like it's a game we should've won I feel like."
The loss spoiled the Houston debut of Carlos Gomez, who was acquired by the Astros on Thursday in a trade with Milwaukee. Gomez, who started in center field, received a nice ovation when he went to the plate in the first, and after he flew out to center. He was hitless in five at bats and is an 0-for-12 slump.
"It was exciting and weird," Gomez said. "I come here a lot of times and being on the other side, walking to the plate. It's kind of weird the first couple of times. But after that, I feel better."
Castillo had three hits and finished a triple shy of the cycle for Arizona. He hit the first pitch of the 10th from Pat Neshek (3-2) just inside the left-field foul pole for his 11th home run of the year.
"He gave me a fastball middle in, and I put my best swing on it. I was lucky to hit it out," said Castillo, who has three home runs in his last two games.
Lamb followed with a shot to right.
"They got the pitches they could handle, a couple hangers from Neshek," Arizona manager Chip Hale said. "We did a great job coming back. We got down, the guys kept battling."
Neshek had not allowed two home runs in an inning this season and had not allowed a home run since June 10 at the White Sox.
Preston Tucker, Luis Valbuena and Marwin Gonzalez each had two hits for Houston.
Feldman allowed three runs and seven hits with three strikeouts in 5 1/3 innings. The right-hander remained winless in three starts since coming off the disabled list July 18.
"I felt alright," Feldman said. "I thought my pitch count was way up there. I tried to just grind it through as well as I could. I think for having to battle the whole time, it was OK. It wasn't great, but kept the team in the game. ... Most nights when we're winning 4-1 like that, we probably come out on top."
Daniel Hudson (3-3) pitched two scoreless innings to pick up the win, and Brad Ziegler got the last three outs for his 18th save.
Tomas put the Diamondbacks up 1-0 in the second with an RBI single.
Peralta finished with three hits, and Tomas and Paul Goldschmidt each had two hits for Arizona.
Rubby De La Rosa, who had allowed one run over his last 15 innings spanning two starts, allowed four runs and eight hits with four strikeouts over six innings.
COMING AND GOING
To make room for Gomez on the roster, Houston optioned 1B Jon Singleton to Triple-A Fresno. ... Houston will activate RHP Mike Fiers before Saturday's game and make a corresponding move at that time. The Astros acquired Fiers in the trade with Milwaukee.
Diamondbacks: OF A.J. Pollock left the game in the seventh with tightness behind his left knee. Hale said Pollock was taken out for precautionary reasons. Pollock is expected to sit Saturday and could play Sunday, Hale said.
Astros: LHP Dallas Keuchel (12-5) will start the second game of the weekend series as he looks to rebound after allowing a season-high five runs on a season-high 10 hits in a loss to Kansas City last Sunday.
Diamondbacks: RHP Jeremy Hellickson (7-6) is 2-1 with a 1.88 ERA in his last four starts.