The problem being the "exceptions now and then" were frequent enough that Christians and Jews never really had any sense of security. If every fifty or a hundred years or so your neighbors turn on you, burn down your home and business, rape your wife and daughter, and murder your son, it is hard to say that you are really all that tolerated. Saying it was mostly tolerant because in the intervening 49 years you weren't subjected to violence doesn't really cut it. Being murdered in only 2% of the years is not 98% tolerant.
This claim that Muslim states were tolerant is usually put forward as part of some men in the sky claim that Muslims deserve the whole middle east and that it is OK for everybody else there to live under their thumb, because they weren't too brutal. It wasn't OK.
One way to understand it is in terms of Turk vs Arab. Although the Turks did periodically persecute Jews, they were generally more tolerant than the Arabs. In Arab areas the plight of Jews therefore often depended on the level of control exerted by the Ottomans. When Turkish control was strong, persecution was minimized. When local interests gained power and Ottoman control waned, persecution would increase.