You probably didn't add enough salt directly to the jar when canning. A lot of people forget that salt plays just as big a role as vinegar in keeping the texture firm. If you followed a recipe that doses the salt at 2-3% of total weight, try bumping it up to 4-5% next time. That's really what makes the difference between pickles that stay crispy and ones that get mushy after a few weeks.
The other thing is, if you left the pickles at room temperature too long before refrigerating them, that speeds up the softening. You gotta store them cold as soon as possible after sterilization, don't let them sit around. And also make sure you're starting with small, firm pickles - the bigger ones or ones that aren't quite as fresh lose their texture way faster.