Melted Fondant

i came to rescue a melted fondant the day after i delivered my chocolate cake. i dont know why it melted when the leftover fondant here in our house remained the same. i assume we have the same climate and weather. please enlighten me i dont want it to happen again.btw, i made a chocolate ganache and made fondant design. if it has something to do with the melting. thanks