I'm using Eagle Autorouter. This works fine.
But sometimes via is created in the distant location.
Does anyone know the cause?
Image is using 10mil Grid. Center-Top small one is the via of this case.
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.