When the tread knobs fold over, or "squirm", when cornering on a hard surface, the surface area in contact with the ground can increase, giving better traction, despite the unnerving feel.
In mud a hard compound can be good when the tread blocks become stiff paddles. But you might be wishing for a soft compound when you go over wet tree roots.