When you delete a photo on myCloud, you have the option to decide whether you want to delete it only on myCloud or also locally from your device. If you have activated iCloud on iOS devices, the picture will also be deleted here.
This way, you will have the same updated data on all your devices and will not have to delete the same photo or video more than once. It also ensures that the same photo is not uploaded to myCloud twice.