I’ve photographed this behavior before. A Night Heron just standing and soaking in the water.
I have a theory, but it’s that with no proof.
I believe the birds are soaking, and cleaning themselves because this is a rookery. Many birds are laying eggs, or sitting on them all day.