Misleading title. Doing better in school isn't the same as being smarter.
Example, and I'm sure a lot of people can attest to this: In high school, I know someone who had a 4.0, took honors classes, but her standardized test scores were garbage in comparison (23 on ACT after 6 months of paid prep.)
Is she a bad test taker? No, she's not, hence why she had a 4.0. But when she's challenged and cannot slave away at her desk at home for 8 hours a day after school, well, yeah.