Increasingly, K-12 mathematics is taught as a matter of brute-force rote memorization. Even the higher level math up through algebra and geometry is taught through memorization of formulas and "plug and chug" techniques combined with excessive levels of busy work (massive homework loads, etc.)
It's no wonder most kids get turned off by that.