He was addicted to pain killers, and he may have failed the substance abuse thing, I'm not positive.
He got fired, or told to take a leave of absense or something and he just signed to TNA at that time right away.
He was really hurting and putting wear and tear on his body and people were worrying that he could be the next eddie guerrero.