That part never made any sense to me either. Why do sins need to be forgiven and how does torturing someone allow forgiveness? Seems like torturing and killing the son of god would be a serious sin by itself.
Couldn’t god just realize he created flawed beings and forgive them himself, or not hold a grudge about it? Humans are how he made them according to the religion.