AI Content Generation for SEO: Why It Ranks or Gets Flagged