Complex sentence: They realize that when they killed Tamara that night, her blood was spilled, completing the ritual and allowing her to rise from the grave as what she is.
Split into simpler sentences: They realize that when they killed Tamara that night, her blood was spilled. It was because of Tamara's blood being spilled that the ritual was completed and allowed her to rise from the grave as what she is.