A water bath allows the pudding to cook indirectly and gently at an even temperature. It also adds moisture to the oven, which prevents the top from cracking.