This type of paper is usually made of a waxy, parchment-like material, making it particularly suitable for sticking. The leftover butter acts as the glue, creating a tight seal.
The extra butter on the wrapper will soften the exposed bread while the wrapper traps in any existing moisture, just like it did when it was protecting the stick of butter.