This will often happen if you leave your machine unused for long periods of time, especially if it has no function to purge the system of water before storage as the Melitta Varianza BTC machine does. Also by neglecting proper mechanical cleaning, not just tossing in a cleaning tab can have the brew unit and surrounding areas full of mould.
Based on the slightly limited information provided, that's all I got for now.