When you delete photos from your iPhone, it depends on your settings. If you have enabled iCloud Photos and the 'Optimize iPhone Storage' option, the photos will be removed from your iPhone but remain in iCloud. However, if you have chosen the 'Download and Keep Originals' option, the photos will still be available on iCloud and other devices.