Bacteria usually caused by a swing in nutrients, for example something dies and you get some ammonia and all of a sudden bam. Also from carbon dosing, new tank syndrome, stirring the sand and releasing a little too much and if you're like me, introducing an opportunistic plague like bacteria.
Bacteria is a more diffuse cloudiness, while precipitation and kicked up sand looks grainy.