Crazy cloud formation over beach in Rio de Janeiro

Can anyone explain this phenomena? It looks so cool!