Case 1: Seven arrival-tawaf circuits were performed without wudu. The text stipulates charity.
Case 2: The same tawaf was performed in major ritual impurity. It stipulates a sheep offering.
The rite is the same; the type of ritual impurity changes the ruling. Actual cases may also require consideration of repetition and other juristic conditions.