I mean, New York, including NYC, has a right to shelter law that anyone is allowed to get a free bed if they want. There is still rampant homelessness or vagrancies or whatever you want to call it.
The combination of these two factors leads some to self-assess that they're better off on the street.