The answer is (D), all of the above.
Earlier, people lived in cramped spaces, so the prospect of land in the west was appealing to them.
The discovery of gold in California resulted in a lot of settlers moving west, as well, to search for a fortune.
Finally, many traveled west to start a new life out in the spaces where no one had claimed anything yet.