They held the lease from a slumlord. They in turn sublet and apparently made plenty of money given the outrageous rents in that area.
And I’m not on FB, but my guess would be they thought they were ultra-cool running an “artists colony”, despite it being a hovel. Everybody from them to the city and state were betting the worst would never happen, and turning a blind eye.