PTGS2 and endometriosis: Furthermore, the hypoxia environment of the peritoneal cavity in patients with endometriosis activates the COX-2/PGE2 pathway, stimulating M2 macrophage differentiation and the development of endometriosis (69).