Delete it on one device. Where does it survive?
Pick a setup, then delete the photo on the phone.
Synced library
Separate backup
Delete on phone
Kept in sync
Empty
Phone
Empty
Laptop
Empty
Cloud
Separate copy
Empty
Drive
Still recoverable
Illustrative example, not measured data.