It was fancy guppies. Some of them had other fish, some of them had just guppies. For some of them, I would guess that there may have been some stress on their females, because it seems it was while the female was pregnant or right after they have baby guppies, and for some of them there were more males than females. But for a large number, no explanation.
I had not thought of the filtration though. From now on, I'll start asking.
I am breeding mealworms. They're like the perfect pet. I haven't fed them since January, and I had them thrown in a box for the past 2 months (I had a week to pack and move after finals), and I have beetles, pupa, and mealworms.