Why do airport security people wear gloves?
They wear them for protection from bugs, bedbugs, headlice, disease, etc.
They put their hand all over the person in front of you, and then they put their hands all over you.
These bugs and diseases could easily be transferred to you. Make sure the TSA security workers put on clean gloves if they want to pat you down.