Insecure people are often more jealous. That could be a part of their personality .. or part of how they were raised. It could be genetic .. or it just could be from their life's experience too.
But jealousy does have a very logical component---the more important something is to you, the more likely you are jealous with regard to any rival for it.