That 'foam' is a special kind of heat conductor. Based on other posts, my guess is they either didn't use the proper adhesive or they weren't properly mounted (on some units), but either way you need to expel the heat from those couple of chips.
Yamaha RX-A2050 AVR (5.0.2)
(4) Polk Monitor 10B's (R/L F/R), (2) Polk Monitor 4's (TM), Polk CS300 center channel
Analog: B&O TX2 Turntable, Nakamichi Cassette Deck 1
Digital: Pioneer CLD-99 Elite LD, Panasonic DMP-UB900 UHD Blu-Ray
LG 65EF9500 4K OLED