In Eagle, Why via is created in the distant location
Really hard to say.  Could just be an algorithmic featuren or something in your design rules.  Manually move it closer and do a design rule check to see what rule it breaks.