Wasn't it because of overconfidence?
He used to ace the tests and she always scored at the bottom despite studying hard, Ishikawa was an easy target for him to brag.
Now his confidence was hit not because Ishikawa's grade improved, but because his own grade decreased. He is not the ace anymore, so NOW he is insecure. But not before.