While in theory the relationship is arbitrary (in the end we just need the letter "0" and the letter "1") I think that there are practical reasons, such a conciseness (I don't want most of my sounds to use two or more letters, especially those that are used a lot), similarity between similar sounds, and similarity with other languages using the "same" alphabet (I hope nobody will every use the letter "a" to sound as a "t").