It turns out that it was worms, as they were also in the filter.
We did a full clean of the tank, including all of the rocks and plants, a 75 percent water change, all of the filter hoses, and replaced everything (sponges, filter medium, etc) within the filter. Everything seems to be good at this point and our little friend is happy. Thank you for the helpful responses!