Brewed beer can get yeast or bacterial infections, especially if you cannot refrigerate it and don't have the means to sanitize recipients.
Just the hops alone stop pretty much all gram-positive bacteria except Lactobacillus and a few other harmless ones.