Depending on the direction of worship, when the coffin is buried, the feet are placed in front of the grave and the head is placed on the tail. This is for the convenience of sacrifice, and the dead can face the living.
Only by combining the two can the dead rest in peace.