Unfortunately, without more information about the 'oro plata mata' full story, it's very difficult to explain its origin accurately. It could be a story that emerged from the experiences of a community dealing with the discovery of gold and silver resources. For instance, if a small village suddenly found gold and silver deposits, it could lead to a series of events such as envy, fighting, and destruction among the villagers which is then encapsulated in the 'oro plata mata' story. But this is just speculation based on the general meaning of the words.
The origin of the 'oro plata mata' story could be rooted in the history and culture of a specific group. It could have been passed down orally for generations, with the elements of gold ('oro'), silver ('plata') and death ('mata') having significance within that cultural context. Maybe it was a cautionary tale told to warn against the perils of excessive greed for precious metals. But without more research, it's hard to be certain.