I believe it's a combination of temperament and environment. Another person could've went through the exact same treatment as you and may not have become a jerk... or maybe they'd be worse off -- that's temperament. However the experiences would've had an effect and have changed them somehow --- that's environment.
The question is, do you really want to be a jerk? If not, then you'll have to work to change how you respond to environmental factors.
For the record... there are women in similar positions who have been treated badly by men repeatedly who harden to become 'bitches.' So it does nobody any good to grow cold to one another... especially when so many complain about the scarcity of love.
"The weakest soul, knowing its own weakness, and believing this truth that strength can only be developed by effort and practice, will, thus believing, at once begin to exert itself, and, adding effort to effort, patience to patience, and strength to strength, will never cease to develop, and will at last grow divinely strong."
- James Allen