If a company does not have proper policies to support women and is willing to push them out when they move forward in their personal lives, then what is the real purpose of having a "diversity culture"? If women are only being hired to meet diversity targets but are not genuinely supported or protected, then the entire concept of diversity becomes performative.
Some senior managers also appear far too intrusive and concerned about the personal lives of female employees. Employees should be evaluated on their performance and professionalism.
If a company cannot provide an environment where women can build their careers without fearing discrimination or retaliation for major life decisions, it needs to seriously reconsider what its diversity and inclusion policies actually mean.