The federal government Essential Air Service program subsidizes airlines to continue with scheduled flights at small airports in rural areas even though there are few passengers. Most states have at least one such airport so Congress has consistently provided funding.
https://www.transportation.gov/policy/aviation-policy/small-...
https://www.enotrans.org/eno-resources/federal-government-su...