Heat. On a summer afternoon the sun heats the roof deck, and an attic with no way to shed that heat bakes the shingles from underneath and radiates heat down through the ceiling. Ventilation will not make an attic as cool as the outdoors, but a steady flow of air under the deck keeps the heat from building up.
Moisture. Houses put water vapor into the attic from cooking, showers and breathing, and Eastern North Carolina adds humid air most of the year. On cool nights that moisture condenses on the underside of the roof deck and the nails. Without airflow to carry it out, the result is damp insulation, mildew on the sheathing and, over years, soft decking.
The roof itself. Shingle manufacturers write ventilation requirements into their installation instructions and warranties, and a poorly ventilated attic is one of the common reasons a roof ages early. That is why ventilation belongs in every roof replacement quote.
How it works. Warm air rises (the stack effect) and wind creates pressure differences across the roof. A balanced system uses both: intake vents low at the eaves let outdoor air in, exhaust vents high at the ridge let warm, moist air out, and the air sweeps the underside of the deck on the way.