G9a inhibits BDNF expression through H3K9me2 modification, thereby impairing the TrkB signaling pathway and exacerbating the development of HF. Here, EHMT2 is linked to hydrops fetalis.