Burying scriptures was one of the sazen koi (good deeds in Buddhist terms), and the practice of building a kyozuka site was called maikyo, which was considered kuyo (a memorial service for the dead).
仏教的な作善行為の一種で、経塚を造営する供養のことを埋経という。