The 3bet looks like a weak attempt to steal the pot pf.
You said you raised to $2? Where?
I would probably 3bet to $3 pf since I'm oop then cbet to ~$6 and shove a raise but then again I have a hard time folding AA esp against a CS. Seems like villian would take this line with TT-QQ, 9x, especially if he though your 3bet was weak.