this has happened to me from time to time, however i dont think its an infection. could be a number of things. soap residue in the glass, not rinsing equipment/tubing well enough, oils picked up in the process somewhere (mill, grain storage, etc.), if there is alot of sediment in the bottles could be yeast or hot/cold break attracted to the extra proteins. from the sound of it it is probably something in the beer when you tip the glass you break the surface tension causing the clumping to start all over again, but its really just a guess if it doesnt taste bad dont worry about it next time try to get a bit more head retention through the grain bill or heading powder, or drink the beer faster so you dont notice it
