Few-shot examples chosen for matching phrasing and format train the model to mimic surface style. On ambiguous inputs that don't share that phrasing, it falls back to guessing rather than applying a rule.
Few-shot examples chosen to sit right at the category boundary force the model to infer the actual rule separating classes. Ambiguous inputs get resolved by that rule instead of by surface similarity.