Ever deal with pwBPD who has a codependency problem?

My spouse seems to have a change in her behavior when she’s around her family. This includes her mother/father. It always seems like when they come visit that her mood resets and she becomes more confrontational and nasty towards me. Has anybody else also experienced this? It’s almost like they latch back onto their support system because they tolerate or feed into that behavior.