That's why those who quit smoking experience increased appetite and eventually higher metabolism, which explains why they tend to pile on the pounds after giving up the disgusting habit. "That" works in your second sentence. "It" is grammatical too, but in your sentence, if you were to use "it", it would not be not clear what the antecedent was.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.