Because many people perceive homelessness as a proxy for moral failings (such as drug abuse) worthy of punishment.
Of course this is rarely the full picture or even true at all, but we need to get people to understand that this is not a problem that can be solved by punishing people.