some people will post images with watermarks on social media or other sites with user generated content. if their dataset included images scraped from them, then it could have gotten in that way
sometimes people will post stock images on sites with user generated content.
if their training data included images scraped from those sites, then it could have gotten in that way unintentionally