Over my decades, I’ve walked along/crossed not shortage of RR tracks [never the Acela] .
Mostly a kid thing.
The tracks speak to you if a train is coming. Easy to just step aside.
I suspect the next version will be “He was having a mental health crisis and was seeking help”.