If this was the new AP Physics 1 curriculum, there were significant problems with teachers not knowing what would be on the test. The overall scores were historically low. Her teacher could have decided to make the class very tough so the kids would be prepared. I think our physics teacher did that, as some very bright kids got low grades. OP, you and your D couldn’t have known about this in advanced; no one was predicting this for Physics 1.
See http://talk.collegeconfidential.com/sciences/1791782-college-boards-transition-from-physics-b-ap-to-physics-1-2-ap-an-epic-failure-p1.html for a recent discussion.