It's boiling in the water bath that gives bagels (and pretzels) their characteristic texture. That's because boiling starts to cook the outside of the dough, tightening its gluten structure, before baking. When baked, the pre-cooked dough on the outside tightens further while it protects the inside, resulting in a chewy outside and tender inside.