intimidation
I believe this is a TSA ploy to stop people from using their rights.
I have had similar issues with liquid medicines and TSA and I firmly believe they do it so others do not try to do what you do. If TSA can yell it will cow others into the behavior pattern that the TSA wants!