A good friend’s son took AP courses and received 97 and 98 on the course material yet a 2 on the exams. Many schools do not teach the material necessary to get a good grade.
To me the bigger question is why not prep? Sure, one should not spend hours and hours but a little bit here and there is not a bad thing unless they are doing something else and have zero time.