People often do things they enjoy when connecting with others, tlhinking that is what others need–especially extroverts and mostly when they aren’t self-aware. e.g. when my wife heads out with friends she tries to plan things for me to do (or even friend hangouts) so I won’t be bored. But that is her as an extrovert thinking how she would be if I went out. I have to reexplain each time that I won’t be bored–i will catch up on reading, podcasts, bike ride, etc, enjoy some solitude, and if I felt the need then I would reach out to a friends.
You may need to have a candid chat and explain that as an introvert you need quiet alone time to recharge your battery–while extroverts charge their battery by being busy or outgoing.