It's not that the teachers _dislike_ him, it's that they are frustrated that he is not following the curriculum and conforming to the lesson sequence and timeframe planned for.
I found US public school education was not about learning and mastery. It's about conformity and obedience. Learning the subject matter is secondary--the key to succeeding at this institution is to do things in the expected way, at the expected pace, even if it is mind-numbingly verbose and slow. It's a hack: You learn the expectations and do the bare minimum of what is precisely expected, because both less than and greater than the bare minimum will be penalized. I had a rough time in school until I grokked this hack.
Do your homework. It's easy of course, just takes a long time to do since so much gets assigned. The point of doing homework is not to learn, it's to show obedience--you were told to do the homework and you did it.
Show your work. It doesn't matter if you can do division in your head, kid. You're expected to write down the specified intermediate steps so just turn your brain off and do it. The point is to follow the prescribed process, not to master the subject.
Class participation. This is a gift to the outgoing/popular/sports kids to inflate their grades. Just figure out how many times you need to say something in order to get full credit, then raise your hand and say something (anything, it usually doesn't matter) that amount of times.
Public schooling is a series of hoops that you need to jump through at no slower or faster than the prescribed pace. The smart kids figure this out. The REALLY smart kids tend not to figure it out unfortunately.