Surgical trauma could lead to the release of inflammatory mediators (e.g., TNF‐α and IL‐1, etc.)and ultimately produce postoperative pain, which was often correlated with anxiety, depression, sleep disturbances, and postoperative cognitive dysfunction (Matsuda et al., 2019). Here, TNF is linked to major depressive disorder.