While the homeless population declined in most states between 2007 and 2017, rising housing costs have contributed to increases in some states, particularly in New York.