I sympathise. I can tell you my own experience of attracting married men.
I'm in my 30s and I've been married many years and I was getting hit on by married men 90% of the time. The single men would back off as soon as they realise I'm married. Single men have the pick of the litter as I think the expression goes? Anyway, These married men sometimes even personally know my husband (kids school, kids clubs, friends, neighbours, work..)
I am no great beauty or anything special. I think married men just try it on with all women and if a woman is friendly it gets misconstrued as a green light.
I'm not laddish but come across as soft, sweet, smiley, caring and mothering. They feel more bold to make a move on me I think it's because they know I will reject them nicely and not make a fuss or a scene. Maybe they rightly assume I wouldn't want to get my husband into a fight? Or hurt their wife? Because i'm 'too nice'?
So now I save my soft motherly side to children and animal. I'm a lot warmer and friendly to women and girls where I show my gentle and caring side but with men I'm far more now reserved.
I also dress very conservatively, long loose clothes (leggings only with a tunic length top) and toned down the make up. In England, where it's normal to wear shorts and mini skirts, leggings with crop tops, next to them being covered up in long loose skirts, wide trousers with tunics.. I'm invisible. Men are all busy checking out and flirting with the ones in clothes that show their physical beauty. I know it's the effect of clothes because the next day when I dress in fitted clothes I get more male attention.
I know it shouldn't be like this but it honestly worked for me, this hugely reduced men hitting on me.
I think when married men hear a woman is newly divorced and not looking to have kids or get serious with anyone anytime soon they think she will be ideal for a bit of fun because she wont badger them to leave their wife and won't demand contact 24/7.
Why do they not just leave?
Drop in finances and downgrading housing
They don't want to end up raising children alone
It's comfortable to have a wife taking care of things at home, a housekeeper, a cleaner, a nanny, a cook, a laundry lady...why lose all this unless you have a new maid/courtesan in waiting?
Wife maybe provides a good network and connections socially or professionally, if he dumps her he might lose friendships
He knows the grass isn't greener, he will always like chasing and seducing a new woman so why disturb home life when this is just a pass time for him
So I think all you can do is adjust your image and behaviour if you don't like what you attract. It's not fair but it's reality unfortunately. Either learn not to care or change your image and attitude with men.