I was wondering about this same question, having recently returned from a trip to Peru, but I have some theories. It’s important to distinguish between low-voltage communication (telephone, Internet, cable TV) cables and line-voltage power supply cables; I believe the vast majority of this tangle you see is the former type.
Telephone wiring systems historically give a single dedicated pair of wires running to each subscriber, from a Central Office telephone exchange (CO) that may serve several thousand subscribers. In the United States, these run out from the CO in large bundled cables that may hold hundreds of pairs (600-, 1200-, 1800- pairs of wires) [1] into the neighborhood, where they are split into smaller bundles at junction boxes, cabinets, or pedestals, and ultimately to individual pairs running to a house or business. I suspect these large cables are ultimately more durable and reliable in the long term, but they are a large up-front expense (investment) and are somewhat more complicated do deal with in splicing.
In developing countries, I think there is a general trend toward minimizing the up-front capital expense for infrastructure, even if the return on investment is fairly short. These tangles of cables look like the result of stringing individual single-pair cables (with bulky outdoor insulation) all the way from the CO to individual customer sites.