The Moroccan invasion was the direct factor that caused the Songhai kingdom to fall. Many other factors such as incompetent leaders, and loads of rebellions caused this too.
I believe the answer is: Borderline personality disorder
People with borderline personality disorder tend to have inconsistent image, moods, and behaviors.
This situation often caused the people around the victims to have a very hard time in adjusting and accepting their behavior and make it very hard for the victim to develop meaningful relationship.