Candidates are challenging the president selectively on issues that could hurt them with swing voters.