Volcanic ash includes small pieces of rock which can be melted at the high temperatures inside the engine causing deposits on the internal engine components resulting in reduced power or a complete loss of power from the engine. Wildfire ash is mostly charcoal and soot which doesn't affect the engines. The primary threat from the smoke from the wildfires causing reduced visibility similar to fog or low clouds.
We don't fly through the fires.