Once someone betrays us why do we seek out other negative traits?

When we first start dating someone they are so attractive to us, YET we really don’t truly know them. We just have an idea of who they are. But once we continue dating them and they get caught in a lie or betrayal happens why do we continue to seek out other negative traits so then they become less attractive?