It's likely it didn't reach the right temperature during cooking. Aim for 234°F (112°C) for that perfect fudge consistency.