Sorry, but I am struggling to imagine the situation. The only thing I can think of is to try and give the dogs space. When they walk your way to turn away and walk the other way.
This weekend I had a girl here with her 7 month old Husky who has issues with socializing with other dogs in a way that we would want him too. He would turn to growling, trying to over power the other dog. What I then did is because she came to me to help socialize her dog is to get tools like water,towel, leads etc for if they fight. I first let out Ice as she always goes into a play position and sniffs the ground if the other dog looks stressed.
That went fine, he did how ever try to hump her and she pushed him off and growled at him. So he stopped doing it. Then I let my Lab out with a very high bite threshold. He growls when needed but has never bitten any dog. That went well too. The girl said usually he would have started to fight. Then I let Decota out my other Husky. He doesn't have very good comunication skills although he wants to play. So by now the Husky was use to some of my dogs and saw that by trying to intimidate other dogs, does not always work. So Decota came full into his space and he wanted to go for Decota. So I sprayed them with water lightly and they backed off, they tried it again so I sprayed again. They stopped and did not try it again.
To make a long story short. When the girl came here I told her to let go of her dogs lead and step away from the dogs. Her dog tried walking to her, probably for re asurance in the situation. So I told her to walk away from the dogs as mine was coming closer to her as well and that might up set her dog.
At the end of the day her dog interacted and played with 3 dogs for a full hour where as usually he would fight in the first 5 minutes. My dogs did most of the work (I bought them treats after wards

) but what we did in that time was to assess the dogs behavior in everything they did and her dog did and also to give them space away from us.
So if you could maybe do those two things to help you, it could give you a clue as to what is triggering this behavior.
Ice
