Here are the details in a simple way: heat treatment just kills the bugs thus pasteurizing wood (like with your milk that will go bad after few days, regardless). HT does not protect wood from future attacks by fungi unless the temperatures reached during HT are above 150C where they change the chemistry of wood thus making "unattractive" to fungi.
Fungi need 4 things to thrive, namely, good food (wood itself that is not chemically poisoned), oxygen, good temp and moisture above 30%. Take away one of those 4 things and fungi stop grow.
Therefore, if HT treated wood gets wet in the future and the wood (food) is not "poisoned" (toxic chemicals inside it), fungi will come back sooner or later.