Cutting a covenant
By God’s command
In the original: בְּרִית berit (“covenant”)
To seal a covenant, animals were cut in two and the parties passed between the pieces. It was the Ancient Near Eastern treaty rite: whoever broke it would share the animals' fate.
Where it comes from
It was how the Ancient Near East sealed a treaty: the parties passed between divided animals, calling that same fate upon themselves if they broke the pact. The Bible records it as a known custom; its most famous instance is Genesis 15, where God himself initiated it with Abram.