It is kind of smarmy of him.. he does not have to apologize for everyone else...
Candidates are called on all the time to answer for deeds done by people working in their campaigns, even when the candidate had no knowledge of what that individual did. Since McCain knew what happened and did not agree with it, it was better he just come right out and say it.