Always' is your key word. It shows that you are over-generalizing from one or two instances. It is dangerous and will not serve you well. It may be that 'jerks' you refer to are those with a charismatic personality but poor ethics; someone who sets out to charm but once a person is trapped into a relationship, treats them badly. If this has happened to you, my sympathies, but learn to be cautious.
We do have a tendency to be attracted by a particular combination of looks and personality so that a person's partners often bear close similarity with each other. The element of danger in a person whose ethics are dodgy can seem exciting. Then the outcome is miserable. We have to be self-aware. Why do I like him? Would my elders like him? if not, why not, and does it matter?
People who are always attracted to jerks have problems within themselves that they need to fix. For example, they likely lack self-esteem and don’t feel they deserve to be treated with respect and dignity. They probably also don’t want to be alone, are too willing to compromise, tend not to learn from their mistakes, and won’t listen to their friends and family.
Learn to listen to these people, they often see behaviors and attitudes that you don’t want to see. Another problem with someone who is always attracted to jerks is that they often think they can get the jerk to change. Not gonna happen!