A movie cheering for, or even trivializing anti-social behaviors would find it difficult to go past censorship (not to mention - to be conceived in the first place...)
It's for the same reason that you'd be hard-pressed to find a pre-1989 Central/Eastern European movie depicting any subcultures (like punks or hippies) sympathetically.
I wouldn't assume that's the case in American schools, though - not based on movies, at least. Could be just a convenient stereotype peddled by "college comedies", not a genre I'd take as valid social commentary
As someone who went through the US public education system in a lower-class neighborhood in the 2000s, I can't speak for wealthier neighborhoods [1], but people are definitely persecuted solely for their grades.
[1] One of the most interesting things about American culture is the dichotomy we have due to the large population and inequality (meaning there's ~no group overlap prior to college) - educational experiences had been so vastly different for many I met in college, and we were shocked at hearing the other side's experiences.
It's also sociologically interesting because Sava/Lazar/Vianu people (or, generally speaking, people who went to good Bucharest high-schools, it's probably the same for other big-ish Romanian cities like Cluj or Timisoara) are more "aware" of the high-school they went to and they generally tend to keep friends with their high-school colleagues for way longer (my so's boss went to Sava and he's still active friends with his former Sava colleagues 25+ years after finishing high-school). Like I said, we don't have that thing in small-ish cities.
I say it's interesting because I kind of noticed the same thing in this thread with people who went to prestigious schools in Moscow (#57, #2), they tend to remember fondly said schools and some of them kept closely in touch with their former colleagues.
There was no rivalry between Sava and Lazar 30 years ago, except for the Cismigiu park. They were in the top 5 schools in Bucharest, but there was no direct competition, they were all considered good places to study and kids used to choose based on the location and other preferences. Lazar had easier access to Cismigiu and lower admission grades, Sava was in a strange neighborhood but a nice, larger building, MF1 (Vianu) was smaller and harder to reach from some places, etc. They all had good teachers back then, no longer these days.
It's definitely a thing even in smaller cities with good highschools. Reunions for 10,20,30,40 years are very common and attended by all, including teachers still alive, etc.
Being good at everything was actually cooler than being bad, especially if you were pretending you're naturally smart and didn't have to work to achieve that. I never understood how come kids in American TV are bullied for being smarter than the others, usually being smart is an advantage. On the other hand if you worked hard for grades or (even worse) were a favorite of some teacher and sucked up to her - you were a "kujon" and that was very uncool.
So everybody pretended they are brilliant and never study for even 10 minutes just know everything :)
But as an American someone in their mid-40s...can anecdotally say it was definitely true in the 80s-90s.
It's a senseless/strange phenomenon that definitely existed but seems to have naturally died off. Guessing it's related to the increasing amount of tech-billionaires during this time. In general in American society, people with money are considered "cool".
At the end of the day, if kids are struggling, they're going to feel frustrated. And they're going to take it out on the physically weakest kids and the ones who are most making them look bad by being good at school if they're not separated, protected, or somehow made mutually engaged (all of which are expensive things to implement). I don't think it has anything to do with anti intellectualism personally.
Basically the adult cops undercover as high school students try to make a first day impression and they sortof trash academics and try to intimidate kids interested in studying etc. So they try to be stereotypical 80s/90s popular kids. It spectacularly backfires and they have to change their approach. It's actually a surprisingly insightful scene in the context of this discussion.
But I think you are wrong on "nerd" thing. Which doesn't mean technical excellence or excellence on a particular subject. "Nerd" means being weird while somehow interested in some technical matters.
There were a lot of "cool" kids doing great at math, physics or programming.
According to Mirriam-Webster, a nerd is "an unstylish, unattractive, or socially inept person".
> an unstylish, unattractive, or socially inept person
I was definitely unstylish, that's for sure, and I was no Adonis, that was also certain, but the good thing is that back in the day that didn't matter, how you looked and dressed as a kid didn't matter. I only had 2 pairs of jeans for my 4 years of high-school because that was all my parents could afford to buy me back then, but to be honest I wasn't aware of that back then. I'm afraid nowadays things are completely opposite.
In the United State there is an extreme anti-intellectual bias among conservative middle and lower class whites.
On the contrary, progressives in the US outright reject factual information and statistics and instead focus on political correctness and feelings.
There are many anti-intellectuals on both sides.
It was the same thing in Romania, at least in the '90s, when I went to school/high-school. It was always strange to me seeing all those American movies of the "nerds"/geeks getting persecuted by the "cool" kids, it certainly didn't happen to kids in my school and I'm pretty sure it generally didn't happen to kids generally around the country.
I know because I was a "nerd" guy but I also played sports and actively enjoyed doing that, was never made fun of by my high-school colleagues because of me studying/getting high grades, that would have been pretty awkward to hear.