It's not, Facebook processes the photos on their end and now also apparently feeds it to generative models to offer something (don't remember what exactly, managed to avoid this). At least that's what some options said last time I went exploring the app's settings page.
This case was not about generative models at all.