To delete photos from your iPhone synced to your Mac, ensure that iCloud sync is ENABLED for your photos (Settings app > Apple ID > iCloud > Photos). Then, you can delete your photos on your iPhone or on your Mac and the changes will be reflected on all of your devices.