Cheesecake cracks and turns grainy mainly from overbaking. Ingredient temperature, mixing, the water bath, judging doneness and slow cooling, step by step.
Baked cheesecake is called a cake, but it has no flour or very little, and its structure comes from eggs setting the cream cheese, so in nature it is closer to a custard such as pudding.