How do animals react to a change of environment when food and water become scarce?

They compete for sunlight.
They find more prey.
They grow in number.
They move to new locations.