DEL-04
Deleting here deletes from the iPhone or iPad, iCloud and all your devices
Why it happens
iCloud Photos is on (this is a warning, not an error).
What the program does on its own
Shows this before you confirm, with the number of items and their size.
How the program detects it (technical detail)
iCloud status.