Friendship and love usually develop between people who treat each other well, have common interests and similar values. If someone hurts me, on purpose or not, or if they don’t like they the same things I do there is not much that would excite either us about getting to know each more let alone persuing the relationship to a deeper level. Parenting is a different situation. As parents we have some control over our children’s behaviour, values and interests but in the end they have to develop their own. When they do, even if they are opposite to ours and we see they are hurting themselves and others our love for them doesn’t change. However, it does become very difficult to express that love to them when they rebel against our wisdom, clash with our personalities and live in a hurtful way. God is described as our heavenly Father who despite we his children rebelling against his values, hurting him, hurting other’s and not sharing his interests expressed his love in the most costly, caring and deliberate demonstration ever. 
But God demonstrates his own love for us, in that while we were still sinners, Christ died for us.
Romans 5:8 NET