Questions & Answers about Ta lalka ma czerwony sweter, a ten miś śpi już na łóżku.
Because Polish demonstratives must agree with the noun’s grammatical gender.
Here:
- lalka (doll) is feminine, so: ta lalka
- miś (teddy bear / little bear) is masculine, so: ten miś
This is similar to how adjectives also have to match the noun in Polish.
The adjective czerwony has to agree with sweter in gender, number, and case.
- sweter is masculine singular
- it is in the nominative here
- so the adjective also takes the masculine nominative singular form: czerwony
Compare:
So czerwony is used because it matches sweter.