If its interior any good glue should work, is the trim being caught on something when moving in or out.
Some trim could have industrial Velcro behind trim.
Using COM_NET you can find what they used for trim and adhesives.
Com-Net instructions found in
this link.