Mythology
Devas and asuras: the two sides of the churning
The churning is done by two parties who are usually at war. Understanding who they are explains much of the story.
Cousins
The devas are the gods of heaven, led by Indra. The asuras are their rivals, often called demons in English, though the word fits badly: they are powerful, learned and capable of virtue. Both are children of the sage Kashyapa. The devas descend from his wife Aditi; the asuras are the Daityas, born of Diti, and the Danavas, born of Danu. Their wars are a family quarrel over who rules the three worlds.
The truce
At the time of the churning the asuras, under their king Bali, have the upper hand. Vishnu advises the weakened devas to make peace and to agree to whatever the asuras ask, comparing their situation to a snake that makes friends with a mouse when both are trapped. Indra goes to Bali, speaks mildly, and the two sides agree to share the work and the reward.
How each side behaves
The story is careful with the contrast. The asuras insist on the more honourable end of the serpent and are burned by its breath. They claim the horse and the goddess of wine. They snatch the nectar, then cannot agree who should drink first. The devas, on Vishnu’s advice, do not quarrel over anything that rises.
The Bhagavata Purana draws the moral itself: both sides did the same work at the same time and place, and the results were different, because of whom each relied on.
Not simply good and evil
The same text honours individual asuras highly. Bali is praised for his dignity in defeat and later for his generosity; his grandfather Prahlada is one of the great devotees of Vishnu. See Bali and Indra.