Contractility is the ability for the muscle to return to the original shape.
Muscles extend and stretch and then return back to the original size and shape.
Spasticity is what allows the muscles to flex and relax.
Muscles remain in a fixed position while the ligaments and tendons stretch.