Perhaps wariness is a nature, or a gift.It’s probably not taught.
I kind of think you are right on that
It can be learned.