being aggressive indirectly
Saying a smart remark or being sassy is an example of being passive aggressive.