iCloud syncs all changes. You delete a photo from your iPhone, it's automatically deleted from iCloud. If you're looking to free up space, turn on Optimize iPhone Storage in Photos Settings. This will save full copies of photos in iCloud while saving low-quality versions on your phone, freeing up space.
Viewing a single comment thread. View all comments