In third year, Harry figured that his gifts were all wrong. Tom was the smartest kid in their class, so surely he would appreciate  books. He wrote to his dad to send him some rare texts from their ancient family library, and his dad happily obliged, writing back how Lily was also the smartest kid in their year at Hogwarts and how he eventually won her over from another giant swot in their class when he started taking his studies more seriously. 