The caramels were most likely overcooked. Be sure to take the caramel mixture off of the heat once it reaches 240, and immediately pour it into your pan.