To enable efficient thermal energy flow a Thermal Interface Material (TIM) is used between the IC and a heat sink
A cavity resonance occurs inside a conductive enclosure when energy is generated at frequencies which correspond to the resonant frequencies of the enclosure.
This white sheet shows a complex combination EMI and thermal solution.