What the fuck? They’re homeless. Sleeping outside is their only option. Shelters are often dangerous, very restrictive on who they let in and there aren’t anywhere near enough of them in the places they need to be.
Sleeping in public places isn’t a fucking crime. It’s not like they’d choose the park over an apartment if they had one.