Here’s a picture of why we recommend in our inspection reports to install screws on the gas water heater vent pipe that carries hot gases outside.
Strong winds can can move the vent pipe completely off the top of the water heater and the hot gases will then be venting into your home instead of outside where they belong.