The idea of gifting is innately human. Human ancestors walked the plains of Africa with little posessions that they can bear but more in which they were beholden to. One man sharpened a rock for a spear tip for some time and he passes it over to his neighbor. They encounter a new tribe and rather than a resort to violence what is on offer is an unconditional gift in the form of animal teeth. The gift, the first step to the development of civilization as a solution to the logic of violence.
By ancient Mesopotmia, gifts became part of religious ceremonies and offerings to deities, while Egyptians buried their beloved with valuables and everyday items to aid their journey to the after life.
In Ancient Greece, gifts were used to foster relationships and hospitality, with travelers often receiving meals and sheter as part of cultural norms
The Romans, formalized gift exchanges during a december festival called Saturnia, where social hierarchies dissolved and most items were exchanged as gifts
And it is no coincidence that upon the birth of the baby Jesus, the three wise men or magi of bethelehem (kings of persia, arabia, and india) brought the baby Jesus gifts of gold, frankincense and myrrh signifying the significance of his coming.