This happens when your Hamentaschen dough dries out. Add 1 Tbsp of water to the dough and knead it in. If the dough is still crumbly, add water 1 Tbsp at a time until you get to the right consistency.