Have you ever felt like someone's trying to control or manipulate you - to keep you in a box, so to speak? This dynamic is especially common between parents and kids, but it also plays out among friends, coworkers and lovers. It may help to understand: they're not actually trying to control _you_ or put you in a box; they're trying to keep _themselves_ safely and predictably contained in their own box - you, as far as they can sense, are one of the sides that holds that box together.
From within this box (aka ego/identity/mindset), they've cast you in a role that reinforces the structure of life as they expect it to be. When you change, move on, challenge assumptions or stake out a new path, you loosen that structure and it begins to feel precarious to them. No matter how much it seems like they're focused on controlling you, they're really just scared of changing themselves. Seeing it this way liberates you to have compassion for them without getting stuck in whatever drama they're creating. Your changes distress them in a way they can't articulate, not even to themselves. Just stay true to yourself and love them anyway. They will either let loose, or withdraw - it's not your job to decide which way for them to go.
PS: There's another, a more subtle aspect to this if you're willing to consider things from a symbolic vantage point. In the symbolic arena, what you see in others is a reflection of what you most need/want to illuminate within yourself. So if someone's pushing your buttons in this particular way (being controlling), there's a good chance you're trying to let go of some SELF-imposed restrictions - your ego's bristling in response, fighting for survival, and they're serving you by fleshing out the struggle before your eyes. Thank them for being a perfect mirror and helping you realize that's going on - now you can shake loose and move freely. It's all good. It's all rich territory, either way you look.