The dying person is wrapped up in the animal skin as the dead person is in Iran. The animal skin is of goat or sheep. It would seem that they get spirited wearing the skin of a sacrificed animal.
It was the custom of neolithic Egypt to be buried with the animal skin on the body. In the ancient world even the deity needed the animal skin when he was to be full of life. The animal skin revitalized the dead, the deity, and the living as well.
The animal sacrifice was not to offer up an animal to the deity but to kill the deity itself. The skin of the animal was full of life. Therefore the dying deity clad in the skin of the sacrificed animal came to life again.