The depth of a baking dish affects how heat is distributed throughout the dish. A deeper dish requires more time for the heat to reach the center, possibly requiring a longer baking time.