Many apps have implemented a small but annoying (to me) feature, and now Photos under iOS 18.2 has it too: Videos automatically replay when you watch them until you tap the Pause button.