"On the other hand" is a phrase typically used to compare and contrast two or more things.
Choice A refers only to Fred, who was happy to be back in Pittsburgh.
Choice C refers only to Greta, who was not happy to be back in Pittsburgh.
Choice D refers to both Greta and Fred but makes no contrast between the two. If anything, Choice D would be making a comparison.