Understanding the cause of personality changes can be complicated because several types of mental illnesses and medical illnesses may trigger them. It can be from depression, anxiety, or dementia. But it can also be caused by a concussion, a tumor, or even a urinary tract infection, especially in the elderly.