So you tried to remove the trim(frame)? Bad idea if so, I would suggest never ever doing this. It's not easy as you found out. There's no need for it anyways. I don't have a clue why it did that though. I've never seen that happen.
I think you mean to say that vinegar is made of several acids, but the one you smell is acetic acid. Acetic acid also happens to be released during the curing process of *most* silicones, leading to the similar smell.