Here's why:
* afraid: The "a" in "afraid" is pronounced with a schwa sound, which is a very short, unstressed vowel sound similar to the "uh" in "about".
* scared: The "a" in "scared" is pronounced with a short "a" sound, similar to the "a" in "cat".
Therefore, only "afraid" contains the schwa sound.