Drupal 9 and 10 do not delete any files automatically, so file cleanup may be needed. When you delete content that uses something in the Media Library (such as an event with an image field), the media item is not deleted along with the content. (This is different from Drupal 7, which deleted some files automatically if they were not being used.)