Stirring the Pot While Cooking, Stirring...
On Hanyu's side, both the Byakugan's scouting and the Uzumaki's sensory abilities had already detected another group of ninja in the town. In theory, they could be a squad from Yugakure, or a squad like Hanyu's own.
At this distance, since Konoha's group wasn't deliberately concealing their presence, the other side could likely detect them too—assuming those ninja hadn't let their guard down.
Every village had sensory ninja. Even if the others weren't as capable as the Hyuga and Uzumaki in this regard, they still had the basic skills.
The difference was that the other group had concealed their movements, yet Konoha had still detected them. Meanwhile, Konoha's group was marching "in plain sight," so the other side might detect them as well.
Even so, Hanyu decided to stick to their planned route instead of avoiding them... No matter which village the other squad came from, there was no doubt they were "potential enemies," but potential enemies weren't the same as actual enemies.
At this point in time, as long as everyone was a legitimate ninja from a recognized village, they wouldn't draw their weapons the moment they crossed paths.
Fighting could cause diplomatic and political problems, which in turn could lead to war. Nobody wanted war. To the current Kage of the Shinobi World, whoever caused one would be a brain-dead ninja... Though Hanyu was now planning to dance right on the edge of brain-dead, even he wasn't actually brain-dead.
So even if two squads from different villages ran into each other, they would merely be tense and wary, ready to fight at any moment. They wouldn't immediately attack without a word, as they had during the previous Shinobi World War.
Unless one side could guarantee they'd wipe out the other in an instant, leaving no one to spread