Corporations charged them money for access to water.
driven by economic ambitions and a sense that the United States was “destined” to span the entire continent, the war also raised the issue of how acquisition of such a large territory would affect the balance between slave and free states.
This is called the frustration of purpose. It's a doctrine about how cases would be solved if unforeseen circumstances were to occur. A modern example would be if you took a mortgage but an earthquake completely destroyed your house. Due to the frustration of purpose, you could have your mortgage canceled because you don't have a house that the mortgage was for, so you wouldn't have to pay for it any more.