If I have 100 acres (square), I need ~2.5 km of wall, at ~150,000 bricks for a 1m wall single brick-width wall (deter animals, mark property).
At the online prices I'm seeing ($0.65), that's ~$100,000. If I have to make it all double width, suddenly its $200,000. $100,000 delta is still pretty relevant for a modern small scale farmer.
In the days before wire, brick walls were a cheap longlasting enclosure method, especially if wood or stones weren't easily available.
This sort of wall is, I think, just an aesthetic way of marking a property line/get some privacy.
It's all about adapting to local materials. The same technique was used by early settlers in New England (think about the ending of The Shawshank Redemption) because they had to get the stones out of the ground in order to plow and harvest - rather than just make a pile, they used the stones to build walls separating fields.