A general under honorable can be given for behavioral or disciplinary problem.
There are a range of discharges, and even if someone is a problem, there are options to get them out without stigmatizing them for life. An other than honorable, though, means the guy who discharged Kerry wanted to leave a mark. That's assuming, of course, this information is accurate.