Hermione opened her door with a curious look . " Harry , what are you doing here ? " " I came to give you the rest of your birthday gift . " She smiled . " The rest of it ?

Question: Why did Harry put so much thought into the gift for Hermione .
Answer: Harry seems to believe that Hermione is a good colleague .Harry seems to think that he 'll get something in return .Harry seems to think Hermione deserves to be rewarded .Harry seems to believe that Hermione is a close friend .