In the second inning, however, Garcia ran into trouble, hitting Adrian Gonzalez and walking Jerry Hairston Jr. to put the first two batters on base. Later in the frame, Mark Ellis and A.J. Ellis both produced RBI hits.
Garcia, who went 7-6 with a 5.20 ERA in 107 1/3 innings with the Yankees last year, gave up two more base knocks in the third inning before Hanley Ramirez stole home on a double steal, and Kelly replaced him on the mound with two on and two out.
In throwing 56 pitches (37 strikes), Garcia finished his afternoon allowing three runs on four hits.
"I thought Freddy's secondary pitches were pretty good, but I think probably the fastball command he'd like to continue to improve on as the spring goes," Padres manager Bud Black said after his club's 7-5 victory.
After getting a flyout to end the third, Kelly proceeded to throw two more innings, surrendering a hit, a walk and a run. On the day, the 23-year-old threw 32 pitches (21 strikes).
"Every time out I feel more comfortable. I left a couple balls up, but even when I was missing, it was relatively down," Kelly said. "I had my changeup and curveball working, so it was good to have a full set of pitches to go out and compete."
Kelly is the Padres' No. 4 prospect, according to MLB.com. He made six starts for San Diego last year, going 2-3 with a 6.21 ERA over 29 innings. The 23-year-old missed most of 2012 though with an elbow strain, but he said he's feeling healthy.
"Arm has been feeling great, haven't had any setbacks or anything like that," Kelly said. "The care we've been doing is really helping."
Before Friday, Kelly struggled in his first appearance of the spring, allowing three runs on seven hits in just 1 2/3 innings.
"It's tough. You want to compete and get everybody out, but at the same time, you have to take a step back," Kelly said. "Last time out was my first time facing live hitters, so you know it's a long Spring Training and you'll have a lot of opportunities to show what you can do."