Text this: Stress-strain state and loss of stability of anisotropic thermal coating under thermal shock