The Marlins had several options from among their starters when the Twins came looking for a trade partner in the Luis Arraez deal. Or maybe it's the other way around--the Marlins were willing to give up one of their starters in pursuit of Arraez. Regardless, there were rumors that the Marlins trade a starting pitcher for Arraez. The deal happened and the Twins got Pablo López.
We all know Arraez has thrived with the Marlins. He's winning the batting championship in a walk, currently hitting .375 and he's stayed on the field and performed acceptably as a second baseman. That said, the Twins could be satisfied if they got a starting pitcher to front their rotation for the rest of the decade. Did they do that? We won't know until Pablo López completes his time with the Twins, but the results have been promising.
López is on course to set career highs in innings, strikeouts and WHIP with no indications of tiring or injuries. The ERA is quite a bit higher than his FIP indicating he might have been a bit unlucky in run prevention. He has signed an extension through 2027, which will be his age 31 season. He seems to have fit in with the Twins very well.
Miami had uber-prospect Eury Pérez, who was probably not available and reigning Cy Young Sandy Alcantara, who again probably wasn't available or would require much more than Luis Arraez. Jesus Luzado has similar numbers to López this season and is younger, but would he have agreed to an extension?
Now, more than ever, I think this is a classic win-win trade for both teams. It will depend on the health of the principals, but the addition of Pablo López has helped the Twins as much or more than the loss of Luis Arraez. The Marlins got a great singles hitter, the Twins got a top rotation starter.