Ladybirds in the surf!

Im hoping someone could shed some light on what we saw in Bridlington on Tuesday.....thousands upon thousands of dead/dying ladybirds, moths ,butterflies and other small midges etc all floating in the surf on the beach...is this normal, ive never seen it before..many thanks if anyone can explain what must have happened..Jem