Question: why are photos being deleted from icloud?
Answer: Deleting items in the Photos app removes them from iCloud, if you're signed in and synchronizing, as well as any other device that's set up similarly. Deleting items the Photos app won't remove them from Google Photos if you've already uploaded them to Google's cloud storage.