Guys, what are your thoughts on your girlfriend avoiding family events with you?

I've been dating my boyfriend for almost two years now. I met his parent about 5 months into us dating and everything was fine. My boyfriend doesn't have a close relationship with his parents so he visits rarely, only for an event. I tend to get invites to theses events but I just dread going to them. I am always very awkward and have nothing to add to a conversation. They drink and smoke I don't like being around in that environment. They are also very rude to my boyfriend and he feels uncomfortable as well. He just shows up because he feels obligated to. Is it wrong for me to just overall avoid going to the events?
Guys, what are your thoughts on your girlfriend avoiding family events with you?
Post Opinion