Looks like train was going too fast for that part of the tracks.
Notice how far it flew off the tracks before resting on it’s side.
I’m glad there’s a black box. I’d like to be reassured its not an age or maintenance issue.