I think we have to consider the fact that the Tower is running this whole deal. The ending clearly shows that all is not what it seems and it could be the entire town was there simply because the Tower wanted it to be and in that capacity, it acted accordingly.