You need to use the deletion page with a deletion form. In the CRUD generated, the button to delete an entity is in fact a submit button associated with a Symfony deletion form (it's made that way to have CRSF on deletion).

If you made your own views, you may have deleted the render of this form. You have two solutions :