The Kumaras on their journey to the spiritual world cursed the gatekeepers who prevented them from passing, condemning them to be born in the material world, but Lord Vishnu appeared to calm the situation. Then, in the material world Diti and Kasyapa came together at the wrong time, thus creating the right circumstances for the gatekeepers to take birth in that family.