No, ice will not cause an infection. Something else caused the infection, and the ice just happened to be there to be blamed.

Ive used ice in my bongs for a couple years now without any problems, and it makes the smoke alot smoother when you hit it.