During the Triwizard Tournament, there’s a sort of subplot involving Harry’s fighting style: Harry still feels he doesn’t really know enough combat magic, so in dangerous situations like the three tasks, he tends to fall back on using his sword and knives.