I’ve seen the most loving parents treated poorly and the least loving parents treated well. It seems the kids try very hard to win the heart of the parent who rejects them.
Nothing is ever absolute, but it does generally hold true that parents who establish a relationship with kids during their development years will usually have the favour returned.