In cervical cancer, hypermethylation of immune-activating genes like IFN-γ and APM components fosters immune evasion, while in ovarian cancer, hypomethylation enhances immunogenicity, impacting ICI responses. Here, IFNG is linked to cervical cancer.