Mechanism for abnormal thermal shock behavior of MAX ceramics