Here's why:
* "El" is the masculine singular definite article (the) in Spanish.
* "La" is the feminine singular definite article (the) in Spanish.
* "Maestra" is a feminine noun meaning "female teacher".
Therefore, the correct way to say "the teacher" (female) in Spanish is "la maestra".