Scott Manley went into the details in a recent video.
The reason the heat shield failed was due to gas buildup inside the ablative material. This was due to the skip reentry profile they used, where the craft does a single skip (as in skipping stones) during reentry. The high bounce caused the shield to be heated enough that the heat penetrated the material causing gas release but not enough that the material ablated. Thus gas would build up deep inside up until it caused large chunks to break off. They could reproduce this in tests.
The fix was two-fold. First they lowered the bounce height, so a much less pronounced skip, avoiding the lowered heating of the shield. And they tweaked the material formula a bit so it was more porous, allowing subsurface gas to escape rather than build up.
In my understanding of the Manley video, the materials change will only occur for Artemis 3, for which it will be irrelevant as that will not be leaving LEO.
No doubt there are people looking at the heat shield right now and saying "Hmmm."
I am very curious about what they're seeing, and how well the get-it-over-with solution worked.
It was a bold move and the results will be fascinating.