I was just reading about that in this book:

Part of the symbolism is in the connection between Christ's torn flesh, and the torn curtain which was a veil that separated humanity from God. Christ's ultimate revelation of God was to endure that suffering on our behalf.