Those settings are IMO likely not doing what you think they are. Or might be doing strictly, precisely what they say they are.
[OFF] "Share data about your Meta devices to help improve Meta products." doesn't preclude sharing data for other purposes.
[OFF] "Allow your photos and videos to be sent to Meta's cloud for processing and temporary storage." doesn't preclude sending them to Meta's cloud for permanent storage.