In general, if you add a flake of food into the tank, the fish eat it, (or not) they keep only a tiny bit for growth and metabolism and the rest goes into the water as waste. Over a month, you may have fed half the flakes in your container, but where does it all end up? the fish didn't get that much bigger, so the rest ends up in the water, which then moves up the food chain as fertilizer for algae, which feeds snail/crab herbivores. Over all, once you finish the food container, you're going to get that much mass in algae, so what people do is get something to eat it and recycle the mass up the trophic food chain into snails, crabs, worms, tangs, small fish, which gets eaten by bigger fish, dolphins, sharks, orcas, Japanese whalers, etc.
Or you can do a water change to remove the nutrients or physically remove the algae from the system.