New homes, apartments, etc need to be built where people need the, not wherever there is open space. Building a giant apartment building in the middle of nowhere serves no purpose if there are no jobs there.
And the reason we can't build where people need them is mostly zoning.