When Thinking Backfires: Mechanistic Insights Into Reasoning-Induced Misalignment