Pour some water into a white container and see if it looks green or clear. If it's green then it's an algae bloom, if it's clear looking, then it's a bacterial bloom. These can happen in cycled tanks as well if you change your filter media too often or you over clean your tank.