Elon Musk brought Yaccarino in two years ago, largely to rebuild relationships with advertisers who left the platform after Musk bought it.
His decision to fold X into xAI took some pressure off social-media revenues, which pale in comparison to the potential profits from AI. That helped create a natural moment for Yaccarino to depart, per The Wall Street Journal (gift link).