One of the possible response actions when a threat is detected is to delete the file from the device.
For more details about deleting files, see Kaspersky Endpoint Agent Help and Kaspersky Industrial CyberSecurity for Linux Nodes Help.