Indirect effect analysis showed that resilience mediated the effects of depression severity on oxy-Hb changes in the LOFC during AMT with negative emotional valence. Here, GSTM1 is linked to major depressive disorder.