If you cook the jam too long, then it will form into a solid gel rather than a soft jam.