Once you delete the photos from recently deleted using iPhone / iPad an options comes and notifies see the article https://support.apple.com/guide/ipad/view-photos-and-videos-ipad99c6ed03/ipados
Recover or permanently delete deleted photos
To recover deleted photos, or to permanently delete them, do the following:
- Tap the Albums tab, then tap Recently Deleted under Other Albums.
- Tap Select, then choose the photos and videos you want to recover or delete.
- Choose Recover or Delete at the bottom of the screen.
In spite of deleting them and getting erased permanently from the device and iCloud.com click on cancel and recover them .