Incorrectly installed flashing can allow water into the inside of the wall and roof creating conducive conditions for termites.