The controversy is said to have “contributed to her decision to leave the role after less than a year.”