Why is terracing used in Southeast Asian agriculture?

to make land less fertile for farming

to make land more level for farming

to make land more valuable for selling

to make rain less problematic for villagers