As much abuse as the TSA get, I've always found them to be friendly and courteous.
That came about when the US government took over the security role at airports after 9/11. Prior to that private companies did the job.
I'm not a fan of government-run anything but having worked for the Boeings, Lockheeds et al as a technical contributor on government contracts all my life, and watched how cleverly those corporations wasted billions of government dollars while producing expensive, late, and mediocre hardware and software, it was obvious that the security contractors were being paid for vigilance while hiring anyone willing to accept minimum wage for showing up and pretending to be awake.
The new mob is reasonably well paid thus attracts reasonable humans, and without a corporate profit motive can buy decent equipment and impose reasonable discipine/attention rules.