Step from a field into a woods and the first twenty or thirty meters are not the forest yet. More light reaches the ground. The wind is stronger. The air and the soil dry faster, and the shrubs thicken. Nest predators, and cowbirds that lay in other birds' nests, often hunt that bright strip more than the shaded interior.
Carolina Murcia reviewed these edge effects in 1995, and Gates and Gysel had already measured the nest pattern in 1978. It is not true of every bird or every forest. A sharp edge beside a farm is harsher than a soft edge that grades through shrubs. If you are watching birds, write down whether you are in the edge or under a closed canopy. You are sampling two habitats.