They did not get along that we'll so they had half of the land they wanted
People agree to social contracts because they establish governments which in turn establish a sense of order and security. It establishes a set of rules which makes people more comfortable when they have some to follow.