Hard to say
What you describe could be a result of (1) dementia
, (2) medication side effects or (3) depression
which may be difficult (but possible) to detect.
I would wonder how long she has dementia, how long she has not been talking, and what other symptoms she was having in order to give better guidance. I'd recommend a geriatric psychiatrist.