To add:
To allow for import substitution industrialization (influencing people to buy goods from their own country instead of another’s)
That means they protect domestic industries from foreign competition.
Helps stabilize the economy in some ways but also can have downsides.