Adam, I'm only guessing from my own experiences here:
Seems practicle to me that these muscular organs are trying to push the loosened cognestion out ... it does know what it's suppose to be doing and is trying to get on with it.
When the spasms started, I felt like it was trying ... when they FINALLY went totally way, I felt like "mission accomplished."
Take your stone busters, flush on a regular basis, make better food choices for your liver and you'll have the problem solved.