Burial itself has been around since neatherdals, for the ones you mentioned they are northern civilization who live in colder areas where is it harder to make a hole in the ground specially after the ice age, the Egyptians and other civilizations from the fertile crescent buried people for mallenias way before any Abrahamic religions showed up