Hello Vlad,
Sorry for late reply to this, because you asked me do explanation about this.
by the way, we have the setting to disable this "Group" and "Event" menu from your Easysocial toolbar, but when you disable it so the user unable to create event and group.
So what is the best solution for you is remove the following code from this file ->
JoomlaFolder\components\com_easysocial\themes\frosty\toolbar\default.php
//LINE 147 until 161
<?php if( $this->config->get( 'groups.enabled' ) ){ ?>
<li class="<?php echo $view == 'groups' ? 'active' : '';?>">
<a href="<?php echo FRoute::groups();?>">
<?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_PROFILE_GROUPS' );?>
</a>
</li>
<?php } ?>
<?php if( $this->config->get( 'events.enabled' ) ){ ?>
<li class="<?php echo $view == 'events' ? 'active' : '';?>">
<a href="<?php echo FRoute::events();?>">
<?php echo JText::_( 'COM_EASYSOCIAL_TOOLBAR_PROFILE_EVENTS' );?>
</a>
</li>
<?php } ?>
hope this help.