By definition, the study of history is the study of the past. To many this is an important pursuit, as understanding the past could hold important lessons for the future - history repeats itself, after all. But to others, this is pointless, simply the memorization of irrelevant names and dates.
The way that history class is taught in K-12 schools is tedious and boring for most students. Instead of teaching historical context and how it is relevant to today's world, students are forced to memorize historical dates and events with little to no meaning on their own.
History classes which are "tedious and boring" are taught in an uninspired way. Effective teachers will teach history within the context of how it relates to the present, and will highlight real-world applications for the use of historical knowledge.
[P1] Students hate history class because it is boring.
[P2] History class is just rote memorization of dates and facts.
Rejecting the premises
[Rejecting P1] There are plenty of students who do enjoy history class.
[Rejecting P2] It depends on the teacher and how they teach the history class.