This is because either the caramel or shortbread was too hot. Both the caramel and shortbread need to cool a bit before combining or the caramel will melt through and bake into the cookie base.