The functional layer of the uterus containing the glands becomes necrotic, and eventually sloughs off during the menstrual phase of the cycle.
As the uterine layer with glands undergoes a process of death and shedding, it occurs during the menstrual phase of the cycle.