Unless you have like 1k hands with UTG and know he's only going to play AA like that, you played it fine.

With $10 out of a $25 stack in the pot if you call, I don't think you want to play a flop here, easy push as the re-raiser is pretty pot-struck and will almost always call.