It's hard to tell without knowing exactly what he said and the tone of voice, but he was maybe being sincere? Maybe you have a knack for it, or you just seem like you know what you're doing, or maybe he's even newer than you and he's choosing the guitar he's going to learn on.
It's not impossible he was being passive aggressive, but that seems like a weirdly elaborate way to go about it.