He made a horrible indefensible joke and then did not take immediate responsibility for the joke. He then apologized sincerely and his apology was accepted.