Overcooking dries up the ricotta cheese mixture and makes the cake hard. For that reason, it is important to cook it until just done.