Generally speaking, there are 2 reasons this happens. They were either cooked too long or they're being manhandled while being stuffed. Cook the shells to al dente and be gentle when stuffing them.