Paste

Combine two files, line by line, comma delimited
$ paste -d, names.txt distances.txt

Combine two files, line by line, tab delimited
paste -d"\t" stardist.txt starname.txt