It's called the "Screening Partnership Program"[1].
It's an agreement the airport makes with the TSA to maintain TSA standards (and I believe the airport gets federal funding to run it).
[1] https://en.wikipedia.org/wiki/Screening_Partnership_Program