Because there's too much filling and not thick enough dough covering it. The dough will melt a bit in the oven before it sets, so if the dough is not thick enough it will form cracks. It also cracks when it's over baked. The steam from the jam will push the pastry, thus making it crack.