As you can see, it is called a ‘gasket’ and is used to align the LED in the reflector hole.
Usually they are not stuck on with anything, they are held in by the reflector.
Heat could have melted the plastic and made it stick a bit.