In some research, a defensive mechanism and trust issues have this very thin line separating them. But in my book, they work hand-in-hand. Most people get defensive when they do no longer trust people around them as such they do not let new ones in because of past experiences.