The word "aliff" is spelled with two "f's" at the end because it follows the rule of doubling the final consonant when adding a suffix to a word that has a short vowel sound before the consonant (in this case, "a"). The IPA phonetic transcription for "aliff" is /əlɪf/, where the "a" sound is represented by the schwa /ə/ and the "i" sound is represented by the short "i" /ɪ/.