I should revise my question. I get the burying part to an extent as the body does need to go somewhere, and being able to build funeral pyres isn't always an available option. However, I never understood the part of the coffin that prevents natural processes to occur. It all sounds like someone came up with a solution to a problem that didn't exist. Even for religions that believe in resurrections, do people think their corpses are going to be reanimated a la Lazurus or that an all knowing all powerful deity couldn't just create a new something? It's all just so logic defying.