When the word was adopted into Spanish and then English, the spelling was kept relatively close to the original Quechua pronunciation, which includes the double L.
Interestingly, the double L in "llama" represents a single consonant sound, similar to the "ll" in the Spanish word "calle" (street). It's not the same as the double L in "hello" where each L is pronounced separately.