The cleanup was necessary to remove harmful objects like cans and bottles that could injure swimmers, ensuring a safer environment for beachgoers.