Bob wants to build it on the next lot over once he sees these new buildings going up and is willing to bet that the new residents will generate demand for parking, and can choose how many stories to make it based on the local demand for parking, which is based on numerous hyper-local conditions that are best evaluated by the owner of that specific lot and not just based on how many housing units are in each building.
Alice is a smart capitalist and will build two apartment buildings instead, maximizing profit from selling the units.
By the time the buildings are completed, the mortgages signed and the people start moving in and fighting for parking, Alice is long gone, moved on to the next project in some other city.
This is the problem parking minimums were intended to help reduce.