Not all garlic is off-limits for cast iron, but minced garlic cooks very quickly, burns easily, and can stick to your skillet, creating a terrible mess to clean up. In addition, the skillet's seasoning can absorb the smells and flavors of things cooked in the pan, and no one wants a lingering garlic smell in their cast-iron cookies or cakes.