There're two schools of thought on this, actually:
- We can train our emotions and control them, regardless of external stimuli, events or relationships.
- We can't control the emotions that come out of events, but we can control or train how we react to said emotions (and events).
Guess which group I belonged to.
I used to believe that emotions were fully within our control. It meant that when I felt certain emotions, I would always feel angry at myself for being a terrible person, and feel an immense amount of guilt for daring to feel emotions which were not "sanctioned" or positive. It's as though I was expected not to be a normal human being.
I'm still in recovery from that. Nowadays it's more practical to process how I feel, and then control how I react. I've improved a lot of relationships that way too - by voicing how I feel (and think), and then explaining how I'll proceed.