I don't have any mod which marries townies. I suppose the settings in neighbourhood stories and or in the game settings about allowing love interactions let them meet my played sims and then start romantic interactions with them so that eventually they get married or ask them to change relationship status. That's my guess as these settings allow that, I suppose. My played sims are still married to their played sim spouse, but they have obviously also married a townie, that is the issue. As I have move in/move out unticked in neighbourhood stories for my townies as I don't want them to populate my worlds, the now married townies have not been able to move in with their played sim spouses, but they still live in their townie household, not in world. Another thing I have unticked is automatic breakups. One way you can detect if your sims have a townie spouse is, for example, by checking which other sims your played sims have in their friends list. If there are any townies in their friends list, look through these townie's profiles. There you can see if they are married to your played sims as they will show up as spouses. Or, of course, if you happen to see any townies show affection to any of your played sims. I really don't want this to happen this way. I prefer no interference between random townies and my played sims so the settings we choose on either side (played sims and townies) work within that respective group only, but not across. I also don't understand why suddenly bigamy/polygamy is happening without a tickbox in settings for those who want to play that way, I don't. Currently, as I said I have now unticked romance changes, both in game settings and in neighbourhood stories for played sims and for townies as well as I don't know which setting is causing this. Before I had all of these ticked/highlighted. This prevents my played sims from having autonomous romantic interactions with other played sims to start a relationship. What I also did was to delete those townies who had married my played sims as that immediately removed them as their spouses, but I don't wish to have to go through townies regularly to delete those who might have married my sims. I play rotationally and don't play the same household all the time . I can't control if there are background interactions going on in not currently played households between townies and my sims. I would of course notice if anyting like that would happen in a household which I currently play, in most cases anyway unless a sim travels off lot.
I guess that for those who want townies to interact with their sims and have relationships with them, this is fine, but not for all of us. I certainly don't want my sims to marry a number of townies as well as my played sims. There should be a way to prevent this and maybe there is.