foam blocks

Looks like they were glued to something originally I found them in the bottom of the doors in the drain channel. Anyone know where they attach?