Questions & Answers about El fantasma desapareció.
Because fantasma is normally a masculine noun in Spanish: el fantasma.
A lot of Spanish nouns ending in -a are feminine, but there are important exceptions. Many nouns of Greek origin ending in -ma are masculine, for example:
- el problema
- el sistema
- el tema
- el fantasma
So the article has to match the noun’s grammatical gender: el fantasma.
In some contexts, if you specifically want to talk about a female ghost, you may hear la fantasma, but the standard dictionary form is el fantasma.