what would be the root cause, just a dirty tank? And will those fish fit in a 10gal tank?
A "dirty tank" is not the root cause of algae.
The short answer is that algae spores are "triggered" by light and ammonia and it takes only minute amounts of ammonia to serve as the trigger. The ammonia amounts involved are easily less than the amounts that would cause you to see even a "trace" of ammonia with your ammonia test kit (meaning less than 0.01ppm or something I guess.) Once algae is triggered, the algae cells need nutrients just like higher level plants and they still need light. So light and ammonia often play a role in solutions that go to the root cause, as opposed to animals that clean algae, which would of course be treating the symptom, not the root cause. A tank with lots of "soil" could have an excellent light balance and very low ammonia and no algae.
The long answer could get really long! If you think about it, algae hold a position in the plant world that is similar to the position that bacteria hold in the "none-plant" world, if you will. So, like bacteria, algae are extremely widespread all over our globe and they are extremely well diversified and adapted to survival in all sorts of situations. One of the things I found most interesting about algae when reading about it in various planted tank forums is that even though all the different types share this "light + ammonia" trigger, they are quite different from each other in terms of what works to rid your tank of a particular type!
Often here on TFF, one is given the link to James' algae page (its in the planted tank resources) which gives various particulars about different types of common algae. Still, there will always probably be ongoing discussion of algae, just like there is of bacteria.
Obviously, one of the most powerful tools an aquarist has with brown algae is to adjust the light exposure. Gradually cutting back on the total number of exposure hours or the amount of light intensity is a major factor. Making sure that exposure periods shorter than 4 hours don't happen is another factor. Since higher-order plants can't really get their complicated photosynthesis factories up and running effectively in less than 4 hours, any lighted periods less than 4 hours that you give the tank will just be used mostly by algae and not plants.
~~waterdrop~~