This weird iOS 17.5 bug could restore years-old deleted iPhone photos whether you want it to or not, and there's nothing you can do to stop it

Some iPhone users say that previously deleted photos are making an unwanted return after installing iOS 17.5 and some were more than a decade old.

This weird iOS 17.5 bug could restore years-old deleted iPhone photos whether you want it to or not, and there's nothing you can do to stop it : Read more
That doesn't really seem safe and secure and leads to more questions about how Photos are being stored by Apple.
I want a technical explanation from Apple on what happened there, because THIS should never happen.
Several years ago, I rolled back the date on my iPhone in Settings > General > Date & Time, and could see photos from that time I had long deleted. I have not tried that in 11 years or so. No clue if it still works.

Original thread: https://forums.imore.com/threads/this-weird-ios-17-5-bug-could-restore-years-old-deleted-iphone-photos-whether-you-want-it-to-or-not-and-theres-nothing-you-can-do-to-stop-it.466452/