I think this happened because of the second law of thermodynamics. The heat from the shoe allowed the chocalate to melt. So since the heat can not be transfered from cold to hot the temp became the same temp as the shoe and melted.