Roads are added when a settlement builds roads. The roads are placed automatically to try and connect the two settlements by the most direct route possible.