What is this..??

There's a "foam" type tape? that is under the door end caps. Can't find anything online saying what it is. I want to replace it as it's brittle, but not sure what to use. Has anyone here replaced it..??

Thanks,
John

20230116_185107.jpg