What could cause my six yr. Old to have blood and mucus in his stool?

Infection. The most common cause would be an infection like salmonella. Diarrhea, even viral, can lead to mucous and blood. Food allergies would be a more remote cause. If it is a couple days and disappears, then no worries, if it continues, then see your pediatrician.