
Go off the rails
Unexpected Behavior
Refers to someone acting unusually or erratically, against social norms. 
Emotional Implication
Often implies a person is dealing with emotional distress or issues. 
Negative Outcome
Used to suggest that someone's behavior will lead to negative consequences. 