"We were all brewing Amortentia.  Slughorn was impressed with your knowledge. He thought you were related to some wizard also named Granger. When you revealed you were Muggle-born, Malfoy made a joke and we both laughed at you." 