I guess it's true that the reason why you fall in love with someone may possibly be the reason you fell out of it, and it doesn't only apply to your romantic partners but also to friends.
You get to know them deeper and you see things you don't like.
But that doesn't matter.
What matters is that at the end of the day, you choose to stay, you choose to accept them.