What happens to Oxygen in the water of a pond with excess algae in it?
The problem is why does the pond have “excess” algae.
That is usually because their is too much nutrients in the pond - “fertilizer” mostly from animals in and using the pond.