If CLASS D amplifier outputs are not properly filtered, it will result in PWM making its way to the analyzer which could be confused with high distortion audio. It is important to see that the signal making it to the analyzer looks like an analog tone and not PWM. This can be verified with a simple oscilloscope.