It's not child porn, it's just children in swimsuits.
Riiiiiiiiiiiiiight, and it's not underage characters in anime that are being sexualized, no sir, they're 1000 year old vampires that had the misfortune to end up in the body of a 10 year old.
Easily my least favorite thing about anime and manga is the Japanese proclivity for sexualizing children - and all the fans who either ignore it, excuse it, or actively seek it out - and seem to love sharing it as widely as they can.
Intent and context can be what makes it CSAM. Change the location to somewhere other than a beach or a clothing catalogue and it would probably be inappropriate attire.
An innocent image from a beach panorama could be CSAM with cropping. It changes the focal point of the image, and removes the contextual setting. Make a collection, and it can show lascivious intent.