I would say Maria has depression. Depression can cause short term memory issues and can cause you to have poor judgment! This may not be correct though.
It also sounds dementia but the post says she cannot have dementia.
Hope this is helpful :)
Answer:
When you think about something repeatedly, it becomes habitual. An example is, let’s say, you always check if your doors are locked before you leave subconsciously. That’s habitual thinking.