P.S.

Also, we can see this in other examples:
"Это была злая старуха"
vs
"Эта старуха была злая" - "This old woman was angy".

It is the same thing. "Это" and "эта" are related to different words.
I am not sure about exact rule...