Simply heating does not kill all bacteria magically. That would require boiling for some time and I doubt that happens in-flight.
[1] https://academic.oup.com/jtm/article-pdf/3/1/11/5107757/jtm3...
It's generally considered paranoid overkill when you consider the water will take a while to cool - it will stay in the "kill everything" temperature for quite a while in the process.
https://besurvival.com/guides/how-long-should-you-boil-water