A behavioral approach to instability pathways in financial markets