The burning sensation of heartburn is heat.
Heartburn is not temperature related. It is the result of stomach acid irritating your esophagus.