Being poor does not cause dysfunctional behavior. There’s lots of Eastern European countries much poorer than NYC and SF that have a fraction of the dysfunctional behavior you see on public transit in NYC or SF.
"Being poor" isn't an activity, it's a lack of life resources, and that can certainly be a contributing factor. Analogously, lack of exercise doesn't "cause" heart attacks, but it's widely accepted as being a contributing factor. Sure, some individuals live to be 100 years old with no more exercise than lifting their forks. But that doesn't alter the general case.
Public disorder is primarily a sociological and cultural problem, not an economic one.
Countries like Thailand also have very high inequality—many city dwellers have family living in literal villages. And even if inequality was higher in NYC—doesn’t that prove it’s a moral and cultural issue rather than an economic one?