Strange combination, isn't it--gratitude and resentment? But this is the way I think. Actually, I think everybody thinks that way. Even the children of the humans who died long ago, I think they lived their lives holding similar contradictory thoughts about their parents. They were raised to learn about love and death, and they lived out their lives passing from the sunny spots to the shady spots of this world.
Your parents will always lecture you, hit you, ground you, make you do chores, embarrass you, etc....but just know that they will always push you harder and harder to make you do the right thing, not to make you seem that you are a disappointment to them, but to prepare you for the reality. In other words, being successful in the FUTURE.
Our parents can show us a lot of things: they can show us how we are to be and what things we ought to strive for, or they can show us how not to be and what things we ought to stray from, then you may have the kind of parents that show you all the things about you that you want to get rid of and you realize those traits aren't yours at all but are merely your parents' marks that have rubbed off onto you.