It’s easy to forget that Hagrid was at school with Voldemort.
They probably both stayed over the holidays and had Christmas dinner together. Maybe they say next to each other. They probably pulled a cracker. Voldemort would have been pissed when Hagrid won.