Why it happens
Ganache is an emulsion of chocolate and cream, with the fat from the cocoa butter and cream held in tiny droplets through the liquid. It splits when that balance is upset. Common causes are too little liquid for the amount of chocolate, cream that was too hot, overheating while melting, or over-mixing as it cools and sets. When it splits, the fat separates out and the mixture looks greasy and grainy.