He says he did it so "Pelosi wouldn't win." I think Boehner probably pulled him aside for a smoking session and told him he could be a big hero by stopping Pelosi. And simple minded Kerry probably just went along with it.
Another possibility is that he will get some of his debt paid off in a shady deal. Apparently, he is facing homelessness due to his irresponsible spending.