Inner
炎 supplies the sound — yán drifting to tǎn through historical sound change.
炎 stacks two
火 fires, hence "blaze, inflammation." The fire imagery also faintly fits: a blanket gives the warmth of fire without the flame. Same phonetic appears in
谈 to chat,
痰 phlegm,
啖 to eat.