Maybe TSA did a search and saw nitrocellouse can be clear (they did not read further and saw it could be colored too). I quit carrying cups through security months ago. Nowdays coffee, tea, booze etc can easily be bought after the security hassle and with the common 20-40 minute line delays, the liquid becomes room temperature too soon.
MisterNice